[GRASS5] Changing the cursor in Tcl

Hamish hamish_nospam at yahoo.com
Fri Apr 14 07:42:02 EDT 2006


Hi,

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?


http://www.tcl.tk/man/tcl/TkCmd/cursors.htm
http://tcltk.free.fr/tcltkfaq.php3?idxquery=106


visualization/nviz/scripts/position_procs.tcl

proc look_here {W x y} {
   . configure -cursor {crosshair}
   [do stuff]
   . configure -cursor ""
}


??

thanks,
Hamish




More information about the grass-dev mailing list