Re: FVWM: setting button style per window

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 24 Jun 2003 09:06:26 +0200

On Tue, Jun 24, 2003 at 12:50:32AM -0400, Rouben Rostamian wrote:
> Question: Is it possible to set ButtonStyle per window?
>
> Specifically, I have defined titlebar buttons 6 4 2 to maximize
> the window horizontally, vertically and fully, respectively.
>
> I wish to change the visual appearance of a button when it is
> active. But if when I do that by changing the ButtonStyle,
> the change affects all windows, not just the window that is
> being maximized.
>
> So my question is: is there a trick whereby I can change the
> appearance of a titlebar buttons individually on different windows?

It is possible but unfortunately quite tricky to do. Try this in
2.5.x:

  buttonstyle 3 - mwmdecormax
  buttonstyle 3 allnormal pixmap foo.xpm
  buttonstyle 3 alltoggled pixmap bar.xpm

In 2.4.x it's a bit more complicated:

  buttonstyle 3 - mwmdecormax
  buttonstyle 3 active pixmap foo.xpm
  buttonstyle 3 inactive pixmap foo.xpm
  buttonstyle 3 active pixmap bar.xpm
  buttonstyle 3 inactive pixmap bar.xpm

Bye

Dominik ^_^ ^_^
--
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 Tue Jun 24 2003 - 02:06:06 BST

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