Re: FVWM: Image Button Changing

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 16 Dec 2002 23:18:40 +0000

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Dec 16 2002 - 17:20:00 GMT

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