[GRASS5] xwindows - how to capture window geometry for monitor

Hamish hamish_nospam at yahoo.com
Thu Mar 25 16:44:31 EST 2004

> I need to capture the geometry of the currently active display
> monitor. I can identify which monitor is active, but don't know how to
> capture its dimensions. I know this can be done and have puzzled over
> the code of gui.tcl which apparently does this, but can't decipher the
> relevant portion. I'm sure someone out there knows how to do this.

see attached script.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d.out.png.driver
Type: application/octet-stream
Size: 1144 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20040326/364af1cc/d.out.png.obj

More information about the grass-dev mailing list