Re: tk_bindForTraversal and tk_menuBar

From: Erick Gallesio <>
Date: Wed, 12 Jul 1995 16:42:40 +0100

> Paolo Amoroso writes
> I use STk 2.1.6 under HP-UX 9.01. In the source code of one of
> the demo programs, widget.stk, there are also the following
> lines:
> ;(tk_bindForTraversal .m)
> (bind "." "<Any-Enter>" '(focus .m))
> ;(tk_menuBar .menu
> ; .menu.button .menu.listbox .menu.entry .menu.text
> ; .menu.scroll .menu.scale .menu.canvas .menu.misc)
> The lines commented out contain calls to the Tcl procedures
> tk_bindForTraversal and tk_menuBar, which are part of the Tk
> library. According to the documentation their purpose is to
> allow, among other things, menu keyboard traversal.
> When I run widget.stk, menu keyboard traversal is not allowed.
> The menus can only be used with the mouse. If I uncomment the
> above mentioned lines, I get an error message saying that the
> procedures are not found. Are those procedures available? If not,
> why are the calls present in the source code? Can their behavior
> be implemented in another way?

menu keyboard traversal is not supported in STk and it will not be supported
before 3.0 (since keyboard traversal must be rewritten for Tk4.0 and since 2.2
will be the last release based on 3.6).
I apologize for this.

                -- Erick
Received on Wed Jul 12 1995 - 16:42:42 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST