On Sat, May 28, 2005 at 11:04:14AM -0400, [EMAIL PROTECTED] wrote:
> FVWM Ver: 2.5.12 on Linux
> 
> I have created a small set of pixmaps for my title bar buttons.  How do
> I change the title bar buttons once activated?  I wish to change the
> pixmap for the maximize button once the button is pressed so that it
> looks different when a window is maximized and then change it back again
> when the window is un-maximized.

It is possible, but it's one of the ugliest parts in the fvwm
configuration language.  You can configure a different pixmap for
each of the six button states like this:

  # tell the button it should whatch for maximization
  ButtonStyle 2 - MWMDecorMax
  # no focus, not maximized
  buttonstyle 2 inactive pixmap my_move.xpm
  # no focus, maximized
  buttonstyle 2 toggledinactive pixmap my_kill.xpm
  # focus, not maximized
  buttonstyle 2 activeup pixmap my_iconify.xpm
  # focus, maximized
  buttonstyle 2 toggledactiveup pixmap my_lock.xpm
  # focus, not maximized, button pressed
  buttonstyle 2 activedown pixmap my_mail.xpm
  # focus, maximized, button pressed
  buttonstyle 2 toggledactivedown pixmap my_ppp.xpm

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to