FVWM: Q: Dynamic Bind of Menu Items to Keys?

From: David Forrest <drf5n_at_bootp-6-214.bootp.virginia.edu>
Date: Mon, 26 Apr 1999 18:34:12 -0400 (EDT)

Dear Sir or Madam,
  Is there a way to dynamically bind menu items to keys? For example I
have
Key Escape A C Menu RootMenu Nop
Key Escape A CS WindowList

AddToMenu RootMenu "Root Menu" Title
+ "XTerm" Exec exec xterm
+ "Rxvt" Exec exec rxvt

in my .fvwm2rc and can hit C-S-Escape and then '3' to get the third window
on the list. Is there a way to make the items in my RootMenu happen if I
do something like:

C-Escape X >>> do the Xterm item
C-Escape R >>> do the Rxvt item

I tried to find it in the RTFM, but I could not, I would expect it to be
in the AddToMenu section of the man page as something like:

If the menu-label contains an ampersand character '&' then the character
following the ampersand will activate the menu item. Case is disregarded,
and if two or more instances of the character are selected, then the
selection cycles between the items, and 'enter' is used to select the
item. The menu will display the item with the letter underlined. For
Example

AddToMenu RootMenu "Root Menu" Title
     + "&Calculator*xcalc.xpm*" Exec xcalc
     + "&Concentration" Exec concentration
     + "X&term" Exec xterm

Is there a way to do this that I was unable to find?

Thanks in advance for your time,

Dave.
-- 
 Dave Forrest                                dforrest_at_virginia.edu
 (804)-979-8634             http://www.people.virginia.edu/~drf5n/
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Apr 26 1999 - 17:35:06 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST