Re: FVWM: MenuStyles

From: Dominik Vogt <dominik.vogt_at_planet-interkom.de>
Date: Wed, 6 Jan 1999 15:29:01 +0100

On Wed, Jan 06, 1999 at 01:53:10PM +0000, Paul Mc Auley wrote:
> On Wed, 6 Jan 1999 11:45:47 +0100 Dominik Vogt <dominik.vogt_at_planet-interkom.
> de> wrote:
>
>
> | After looking thorugh the code I'd say the _at_...@ has to be applied
> | to the menu name, not the title:
>
> | AddToMenu Utilities_at_linux-menu.xpm@ "Utilities" Title
>
> I tried it and it doesn't work. You also need to invoke it as
> Utilities_at_linux-menu.xpm.
>
> Does somebody actually have a working example?

Have a look at the manpage. The example there is correct although
the text is not. The scan for side pics is done only the first
time the name of the menu is used (i.e. when the menu is created):

This one is ok:

  DestroyMenu Utilities
  AddToMenu Utilities_at_linux-menu.xpm@
   + "Utilities" Title

This one too:

  DestroyMenu Utilities
  AddToMenu Utilities_at_linux-menu.xpm@ Utilities Title

But this won't work:

  DestroyMenu Utilities
  AddToMenu Utilities "some item" Nop
  AddToMenu Utilities_at_linux-menu.xpm@ Utilities Title

There's a typo in the manpage saying the menu label
is evaluated, not the name. Apart from this it is
quite misleading.

Bye

Dominik

--
Dominik Vogt, dominik.vogt_at_planet-interkom.de
Reply-To: dominik_vogt_at_hp.com
--
Visit the official FVWM web page at <URL: http://fvwm.math.uh.edu/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Jan 06 1999 - 09:11:58 GMT

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