Re: FVWM: Usage of MenuStyle.

From: ddtl <unixmail_at_bk.ru>
Date: Sun, 07 Mar 2004 08:53:40 +0200

Mikhael Goikhman wrote:

>>1) How do you define a new menu style - do you just copy one of the
>>existing menu styles into a new one with, say:
>>
>>"CopyMenuStyle fvwm my_style"
>
>
> This line only makes sence after these lines:
>
> CopyMenuStyle * fvwm # actually optional, but you probably want it
> MenuStyle fvwm Font fixed, AnyOtherOptions YouWant

So actually instead of "Sets a new menu style or changes a previously
defined style." in a definition of a MenuStyle command the man page
is supposed to say: "Defines a new menu style or changes a previously
defined one." - in effect it also answers to the next question.

>>creating that new style along the way and than change some of it's
>>properties? (Of course if the answer to previous question is that
>>there is only one changeable style - "*", the question is irrelevant,
>>though an existence of CopyMenuStyle suggests that many menu styles
>>can be defined)
>
>
> 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?


ddtl.
--
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 - 00:55:45 GMT

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