Re: FVWM: closing an existing menu and opening another with one keystroke
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
FVWM: closing an existing menu and opening another with one keystroke
Dan: Thanks for looking into this. What I ended up doing is this: For each menu I have I added two keybindings, e.g. Key F9 A 4 Menu MenuRadio Key F9 M 4 MenuClose So if another menu is already open I have to press the button twice. This is not terribly inconvenient and also allows me to quickly open and close a menu to check for the presence of say a certain entry. Robert On 11/22/07, Dan Espen [EMAIL PROTECTED] 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. -- Dan Espen E-mail: [EMAIL PROTECTED]
Re: FVWM: closing an existing menu and opening another with one keystroke
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. -- Dan Espen E-mail: [EMAIL PROTECTED]
FVWM: closing an existing menu and opening another with one keystroke
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? Thanks, Robert