[GRASS-dev] making py.monitor listen to external commands
David Finlayson
david.p.finlayson at gmail.com
Mon Jun 12 15:36:32 EDT 2006
One thing that might be helpful is to have a file which lists the
currently displayed ppm images (in the monitor) in the order that they
are displayed. Then a command line program could replace the list with
new data (d.erase) or append to the list (d.rast -o). The monitor
would need to check if the list had been changed and then update
itself (maybe after receiving an update yourself signal via a socket)
Ideally, the monitor list would contain enough information to update
the gis.m widgets as well.
In other words, d.erase would erase the monitor and (optionally) also
remove all the drawing "widgets" from gis.m. Issuing a d.rast command
would, in addition to updating the monitor, replace or append to the
gis.m widgets as appropriate.
--
David Finlayson
More information about the grass-dev
mailing list