in reply to Menubars the slick, sophisticated, New-Fashioned way
Your accelerators should work fine when the menus are posted. If you want the key combinations to work as shortcuts without the menus posted you'll want to bind them to the Toplevel:
$mw->bind('<Control-l>', \&load_file); # Ctrl-L to load a file
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Menubars the slick, sophisticated, New-Fashioned way
by Anonymous Monk on Nov 20, 2002 at 07:59 UTC |
In Section
Seekers of Perl Wisdom