Question: There is a little bug, when I try the right mouse trick to handle windows I always get an error message (for quite any window I think), before being still yet able to perform closing or other operation by mouse-clicking. e.g:

Error: invalid command name ``tk_menuSetFocus(.d_vect.po pup)``

Any ideas?

Answer: This is not a bug in TCLTKGRASS but in some versions 8.0 of TCL/TK libraries.

It is easy to correct:

At the end of the file XXX/lib/tk8.0/menu.tcl
(XXX depends on the installation, for example: /usr or /usr/local), replace "tk_menuSetFocus($menu)" with "tk_menuSetFocus $menu"

Have fun...

Jacques Bouchard
bouchard@onera.fr
3. August 1998


Go back to GRASS FAQ