ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved