Re: FVWM: A few thoughts.

From: Neil Bird <neil.bird_at_rdel.co.uk>
Date: Mon, 05 Jul 1999 09:39:14 +0100

FoulDragon_at_aol.com wrote:
> In other thoughts, it might be neat to have an 'include' sort of thing for
> menus. Ideally, you could put the window list (to make a flwm style menu, or
> one like the GeoWorks express menu) or a submenu into a menu rather than
> making it an offshoot. Let me try to give an example:
> Menu A has items a, b, c
> Menu B has items d, e, include menu A, and f, so it displays as d,e,a,b,c,f.

  Could you not do something like:

AddToFunction Add_Menu_A_Contents \
  AddToMenu $0 "A" Exec a
+ AddToMenu $0 "B" Exec b
+ AddToMenu $0 "C" Exec c

  ... for all menus to be included (for all menus?).


  Then:

Add_Menu_A_Contents "Menu_A"


AddToMenu Menu_B \
  "D" Exec d
+ "E" Exec e
Add_Menu_A_Contents "Menu_B"
+ "F" Exec f


  I've done something similar to create a slew of near-identical menus,
all differeing by one thing (which is set by the function's parameter).

  That last "F" item might not work without a further AddTomenu.

-- 
========================- http://www.rdel.co.uk/ -======================
 Neil Bird                   |   This is who we are     The time is near
                             |
 mailto:neil.bird_at_rdel.co.uk |        There are 180 days remaining
--
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 Jul 05 1999 - 03:39:18 BST

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