Re: FVWM: setting button style per window

From: Rouben Rostamian <rostamian_at_umbc.edu>
Date: Tue, 24 Jun 2003 23:44:51 -0400

In a couple of previous message I asked about the possibility of
varying the titlebar button style per window. I am glad to report
that I have figured out how to do it. I use fvwm's "State" boolean
flags to keep track of each window's state. Then I change the
button's decorations according to its state. Works pretty
nicely, although the corresponding script is an ugly hack.

I have placed a screenshot in

    http://www.math.umbc.edu/~rouben/fvwm-screenshot.png

Titlebar buttons on the right side of the titlebar perform the
following actions:

   maximize to fill screen
   maximize vertically
   maximize horizontally
   window shade
   iconify

Each one (except the iconify button) acts as a toggle. When
the button is in toggled state, its color changes from green
to red.

-- 
Rouben Rostamian <rostamian_at_umbc.edu>
--
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 - 22:46:36 BST

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