Re: FVWM: Add/Remove Buttons on the Title Bar

From: Phil Stracchino <alaric_at_caerllewys.net>
Date: Wed, 20 Aug 2003 14:30:17 -0400

On Wed, Aug 20, 2003 at 12:57:07PM -0400, Howard Engelhart wrote:
>
> Using
> FVWM version 2.4.16
>
> Could someone please send a brief example of how to add buttons to the
> Title bar of windows? Currently I am only able to get the buttons for
> Iconifying, Maximizing, and popping up the control menu. I've attempted
> playing around with the AddButtonStyle/ButtonStyle commands, but to no
> avail. Nothing I do seems to change the title bar buttons.
>
> Any help would be appreciated.

Howard,

This example works on 2.4.16; it's copied directly from my running
.fvwm2rc:

# Manual windowshade toggle button
ButtonStyle 6 Vector 5 20x20_at_2 20x30_at_2 80x30_at_0 80x20_at_0 20x20_at_2 -- Raised
Style * Button 6
Mouse 1 6 A ShadeToggle
DestroyFunc ShadeToggle
AddToFunc ShadeToggle I ThisWindow WindowShade


I use this in combination with:

ButtonStyle All -- UseTitleStyle

for cleanness.

-- 
 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  alaric_at_caerllewys.net : alaric-ruthven_at_earthlink.net : phil_at_latt.net  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :
--
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 Wed Aug 20 2003 - 13:32:10 BST

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