On 16 Dec 2002 21:04:38 -0200, Isaque Galdino de Araujo wrote:
> 
> Hi guys, this is my first post, altought I am an old fvwm user, and I am 
> trying figure out how to configure a button to change its image when Shade is 
> changed too.
> I am using:
> ...
> Style "*" MWMFunctions, MWMDecor
> ...
> ButtonStyle 4 ActiveUp   (Pixmap shadeup-activeup.xpm     -- Flat) \
>               ActiveDown (Pixmap shadeup-activedown.xpm   -- Flat) \
>               Inactive   (Pixmap shadeup-inactive.xpm     -- Flat) \
>               ToggledActiveUp   (Pixmap shadedown-activeup.xpm   -- Flat) \
>               ToggledActiveDown (Pixmap shadedown-activedown.xpm -- Flat) \
>               ToggledInactive   (Pixmap shadedown-inactive.xpm   -- Flat)
> ...
> Mouse 0 4 A WindowShade
> ...
> 
> So..., any clue?

Add:

  ButtonStyle 4 - MwmDecorStick
  Style * MwmButtons  # button follows the state (enable Toggled)

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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to