On Thu, Jun 08, 2006 at 12:23:41AM +0200, Michelle Konzack wrote:
> Hello,
>
> If I tear of a menu, I like to have only the "X" (close button) on the
> right and all other removed... after several hours reading "man fvwm2"
> and experimenting I have not the solution...
>
> Please can anyone tell me how this can be done?

Style "Some Menu Name" NoButton 6, NoButton 8 .....

> A second problem is, that I have to use
>
>     Style "fvwm_menu" ...
>
> because I do not want to use the same style for ALL tear off menus.

The order of style lines (I cannot iterate this enough) is important.
"fvwm_menu" (because it is the menu's class in this case) is specific, and
hence will apply to all menus torn off.  That being the case you can
ensure that line is first for the generic case:

Style fvwm_menu NoButtons 4

... and then add your specific menu styles, hence:

Style "Root Menu" NoButtons 6, NoButtons 8

... etc.

-- Thomas Adam

-- 
"If I were a witch's hat, sitting on her head like a paraffin stove, I'd
fly away and be a bat." -- Incredible String Band.

Reply via email to