On 29 Jun 2002 01:11:27 +0000, Mark A. Nicolosi wrote: > > On Fri, 28 Jun 2002 21:58:02 +0000 > Mikhael Goikhman <[EMAIL PROTECTED]> wrote: > > > On 28 Jun 2002 14:03:42 -0600, S. Anderson wrote: > > > > > > On Sat, Jun 29, 2002 at 02:58:55PM +0000, Mark A. Nicolosi wrote: > > > > > > > > I've binded (bound?) Stick to a title bar button. I want to use > > > > different pixmaps in the title bar button, one for when it's not > > > > sticky and one for when it is. I tried writing a function but I > > > > couldn't figure out a way to do it. > > > > > > search the man page for MwmDecorStick, ToggledActiveUp, ToggledActiveDown > > > and ToggledInactive > > > > And "Style * MWMButtons". You don't need a function. > > How would I tell fvwm to use mini.stick.xpm for when it isn't sticky and > to use mini.stickpressed.xpm when it is sticky for a title bar button?
Style * MWMButtons ButtonStyle 3 ActiveUp Pixmap mini.stick.xpm ButtonStyle 3 ActiveDown Pixmap mini.stickpressed.xpm ButtonStyle 3 Inactive Pixmap mini.stick.xpm ButtonStyle 3 ToggledActiveUp Pixmap mini.stickpressed.xpm ButtonStyle 3 ToggledActiveDown Pixmap mini.stick.xpm ButtonStyle 3 ToggledInactive Pixmap mini.stickpressed.xpm ButtonStyle 3 - MwmDecorStick Mouse 0 3 A Stick You may setup 6 different pixmaps, not only 2. When I answer a question about configuring titlebar buttons, I usually copy the buttons component from one or another theme in fvwm-themes. 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]
