[GRASS5] Changing the cursor in Tcl

Glynn Clements glynn at gclements.plus.com
Fri Apr 14 12:31:51 EDT 2006


Hamish wrote:

> I'd like to have the look "here" button in NVIZ change the cursor to a
> crosshair, but my Tcl is so bad I can't get it do work. Any suggestions?

You have to use the configure command on the correct widget(s). By
default, children will inherit their parent's cursor, so setting the
cursor on a top-level widget will normally affect most child widgets,
but specific widgets may override it (e.g. text widgets will change it
to an I-beam cursor).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list