On Thu, Nov 22, 2007 at 04:22:10PM -0500, Dan Espen wrote:
> "robert muth" <[EMAIL PROTECTED]> writes:
> > On 11/22/07, Dan Espen <[EMAIL PROTECTED]> wrote:
> > > "robert muth" <[EMAIL PROTECTED]> writes:
> > > > I have a bunch of menus assigned to function keys.
> > > > When I want to browse them, I have close the previous
> > > one using say the ESC key before open a new one.
> > > > Is there a way to combine them into one?
> > >
> > > Make the other menus you want to use submenus with hotkeys assigned.
> > 
> > Hmm, all my menues are top level menus.
> > I could move them into a container parent menu
> > but would prefer them to be stand alone.
> 
> I don't think it is currently possible.
> The current development copy lets you do custom kebindings
> for menus but they are restricted to the operations:
> 
> MenuClose
> MenuEnterContinuation
> MenuEnterSubmenu
> MenuLeaveSubmenu
> MenuMoveCursor
> MenuCursorLeft
> MenuCursorRight
> MenuSelectItem
> MenuScroll
> MenuTearOff
> 
> so if you want the menu to popup another menu there
> has to be an item in the menu for that action.

I have just committed a patch that implements the new command
MenuCloseAndExec for menu bindings that does exactly this.  Try
this:

  Key F1 MTI[]-_ A MenuCloseAndExec Menu RootMenu

With this binding, pressing F1 in any menu closes the menu and
opens the RootMenu (without closing a tear off menu).
 
You need the latest code from CVS for this.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt

Reply via email to