Re: [MACTCL] menu accelerators
by Daniel A. Steffen other posts by this author
Mar 26 2003 11:27AM messages near this date
[MACTCL] menu accelerators
|
[MACTCL] Re: [ANN] TclTkAqua 8.4.2 Mac OS X binary distributions available
John,
On Wednesday, Mar 26, 2003, at 07:31 Australia/Sydney, John P Speno
wrote:
> I'm trying to get my app's menu accelerators working. The accelerators
> show
> up in the menus, but pressing the key-combo, i.e. Command-T, does
> nothing.
you need to add explicit menu shortcut bindings via bind, this is a Tk
feature, -accelerator is only for decoration, c.f. tk docs and the list
archives, this has been discussed here a number of times before.
See the wish console code for examples (e.g. for the console Quit menu
item).
Cheers,
Daniel
--
** Daniel A. Steffen ** "And now for something completely
** Dept. of Mathematics ** different" Monty Python
** Macquarie University ** <mailto:steffen@[...].au>
** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/>
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
John P Speno
Daniel A. Steffen
|