Re: FVWM: Usage of MenuStyle.

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 7 Mar 2004 10:30:36 +0000

On 07 Mar 2004 08:53:40 +0200, ddtl wrote:
>
> Mikhael Goikhman wrote:
>
> >You may use ChangeMenuStyle command to associate menus created using Menu
> >command with a menu style different than the default "*". This command is
> >documented in the man page:
> >
> > ChangeMenuStyle my_style MenuFvwmRoot MenuFvwmWindowOperations
>
> And is it possible to change style of all menus at once?
> For example, if i have 100 menus (including those defined by AddToMenu
> command and the built-in ones) and i want all of them to use my_fvwm
> style, i don't want to enumerate all of them in ChangeMenuStyle, like:
>
> ChangeMenuStyle my_style menu1, menu2, menu3 .... menu99 menu100
>
> but i want say something short instead that will do the job, like:
>
> ChangeMenuStyle my_style ALL_EXISTING_MENUS
>
> How can i do that?

If you want one style for all your menus, then don't use commands
CopyMenuStyle and ChangeMenuStyle at all, use "MenuStyle * options", where
"*" if the default menu style name that every menu gets when created:

  MenuStyle * Font fixed

This command causes all menus to use fixed font, except for menus you
applied ChangeMenuStyle to them. Additionally, there is no automatical
copying or inheritance of menu styles, but it is not needed in your case.

If you think the man page may use a better wording, supply a patch to the
cvs version.

Regards,
Mikhael.
--
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 Sun Mar 07 2004 - 04:33:11 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST