[GRASSGUI] Re: [GRASS5] Embedding GRASS display in my application
Glynn Clements
glynn.clements at virgin.net
Sat Apr 24 08:35:56 EDT 2004
Sajith VK wrote:
> Sorry if the question is already answered.
> I am creating a s/w using grass at the backend.
> I want to show GRASS Display in my app.(in grass
> it is in a seperate window). I am using GTK, not Tcl/TK.
> Someone please suggest me how to do it?
>
> Currenlty I use PNG driver, create an Image and load that
> image into my application, but it is not a good way.
Why not?
> Does
> implimenting another driver solve the problem? Or can my
> application communicate with grass through some fifo, pipe etc\
> Or some other simple solution?
Under X, you can set the environment variable XDRIVER_WINDOW to the
XID of an existing X window, and XDRIVER will use that window instead
of creating its own. That won't work on Windows, though.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-gui
mailing list