Re: FVWM: Stick from the title bar

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 29 Jun 2002 08:54:42 +0000

On 29 Jun 2002 01:11:27 +0000, Mark A. Nicolosi wrote:
>
> On Fri, 28 Jun 2002 21:58:02 +0000
> Mikhael Goikhman <migo_at_homemail.com> 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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Jun 29 2002 - 03:56:04 BST

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