Re: [tkined] ..invalid command "tk_menuSetFocus(...

Buz Owen (ado@bbn.com)
Wed, 28 Jan 1998 16:20:21 -0500

> Whenever I try to right click on the objects I get: "Error: invalid
> command name "tk_menuSetFocus(.tkined0.canvas.popup)" with the option to
> OK, Skip Messages and Strack Trace. I tried to Stack Trace but my
> knowledge of tcl/tk is very limited. It is most anoying because at times
> I cannot access the attributes of the objects on the canvas.

This is a bug in the tk8.0 release. One fix is to get tcl/tk8.1. Another is
just to edit the installed version of the file menu.tcl - in directory $prefix/
lib/tk8.0/, which contains the offending line. Just take out the parens, and
replace the open paren with a space. /b

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.