Kevin Nguyen <KNguyen_at_zilog.com> writes:
>
> Hi,
>
> What are other commands/variables that I need to set to put these
> button in a window and do what I want? i.e. click on the big button will
> expand
> the window full screen, click tall button will expand window to maximum
> y-direction,
> click skinny button will expand window to maximum x-direction, and click on
> dot button
> will minimize the window.
>
> I have these variables set but it does not work.
>
> #ButtonStyles:
> # big box
> ButtonStyle 2 5 25x25_at_1 25x75_at_1 75x75_at_0 75x25_at_0 25x25_at_1
> # tall box
> ButtonStyle 4 5 40x25_at_1 60x25_at_1 60x75_at_0 40x75_at_0 40x25_at_1
> # skinny box
> ButtonStyle 6 5 25x40_at_1 25x60_at_1 75x60_at_0 75x40_at_0 25x40_at_1
> # dot
> ButtonStyle 8 5 40x40_at_1 60x40_at_1 60x60_at_0 40x60_at_0 40x40_at_1
Those commands just decorate the buttons. You assign functions to
the buttons like this:
Mouse 0 2 A Iconify
Which says, "any mouse button" (0), on button 2, with any modifier,
invokes the command "Iconify".
I think you will find more examples in the man page.
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
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 Nov 16 1999 - 11:37:10 GMT