FVWM: 2 states for a button

From: Anders K. Lyhne Th0gersen <di010267_at_diku.dk>
Date: Fri, 25 Jan 2002 19:02:00 +0100 (CET)

Hi!

I've decided to take some time to costumize my favorite windomanager so it
becomes even cooler, but i have run into a problem i can't fix...

I would like to add a sticky button that appears to be pressed down when
pressed the first time, and when pressed again it switches back to look as
it did before it was pressed, and the window will no longer be stuck.

I have been trying with statements similar to these:

AddButtonStyle 3 ActiveUpToggled 2 70x15_at_0 30x55_at_1
AddButtonStyle 3 ActiveDownToggled 2 70x15_at_1 30x55_at_0

Or just

AddButtonStyle 3 Toggled 2 70x15_at_0 30x55_at_1
AddButtonStyle 3 Toggled 2 70x15_at_1 30x55_at_0

I have tried a couple of variations using the word "Toggled" , but i
can not get it to work. I'm guessing that this is approach is wrong?

Does anyone have a suggestion to how i can accomplish this?


Anders

--
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 Fri Jan 25 2002 - 12:02:11 GMT

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