[GRASS-dev] Re: [GRASS GIS] #74: Tcl version of v.digit's
background colour doesn't work
Glynn Clements
glynn at gclements.plus.com
Sun Mar 30 13:18:55 EDT 2008
GRASS GIS wrote:
> #74: Tcl version of v.digit's background colour doesn't work
> Changes (by hamish):
> With r30810 (just committed) it now respects the bg color, but only if you
> add a background command like 'd.grid 5000'.
Right. A simple (but inefficient) solution would be to add a d.erase
command at the beginning of the list.
It should be possible to set the canvas background colour with:
.screen.canvas configure -bg <color>
> I also notice that you can't
> turn off background commands once created, unchecking their tick boxes has
> no visible effect, once rendered. (if not yet rendered it won't draw it if
> unticked)
The background should be re-calculated whenever a full redraw occurs,
e.g. if you change the zoom or click the redraw button.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list