tk_bindForTraversal and tk_menuBar

From: Paolo Amoroso <>
Date: Tue, 4 Jul 1995 15:13:09 +0200 (METDST)

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

;(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?

Best regards,

Paolo Amoroso <>
Received on Tue Jul 04 1995 - 15:14:37 CEST

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