Re: FVWM: 2.0.41 patch: OpenLook support

From: Todd Fries <tfries_at_umr.edu>
Date: Sat, 16 Mar 1996 20:26:22 -0600 (CST)

> The appearance of textedit icons and others is much improved but a patch
> or module to handle mailtool's behaviour and/or push-pins would be
> superb for the majority of Sun users.

What I have found useful is to use an 'X' ed button which works very much like
the push-pins you're accustomed to.

ButtonStyle 3 13 26x29_at_1 34x21_at_1 50x35_at_1 70x21_at_1 79x29_at_1 63x48_at_0 79x65_at_1 70x75_at_0 50x61_at_0 34x75_at_0 26x65_at_0 44x48_at_1 26x29_at_0
....
AddToFunc "Close"
+ "C" Delete
+ "D" Destroy
....
# Button Context Modifi Function
....
Mouse 0 3 A Function Close

Oh, and while I'm giving 'tips' here is something to pattern
what (IMHO) would be a very useful 'example .fvwmrc' setup
would be like:

(I have a subdir, .fvwm under which .fvwm/funcs resides,
 along with mouse, keyboard, sytle, menus, paths, etc..,
 so that I can chage the file, and re-read it to be
 close to run-time-configurable)

---~/.fvwm/funcs-------

[removal of other functions]

DestroyMenu Styles
AddToMenu "Styles"
+ "Color" PopUp Color
+ "Buttons" PopUp Buttons
+ "Font(Window)" PopUp font_window
+ "Windows" PopUp Windows
+ "95list" Module /etc/X11/bowman/FvwmWinList
+ "recapture" recapture

DestroyMenu Windows
AddToMenu Windows
+ "rxvt - NoTitle" Style "rxvt" NoTitle
+ " - Title" Style "rxvt" Title

DestroyMenu font_window
AddToMenu font_window
+ "adobe" WindowFont -adobe-helvetica-bold-r-normal--0-100-75-100-*-90-*-1
+ "lucid" WindowFont -*-lucidatypewriter-medium-r-*-*-12-*-*-*-*-*-*-*
+ "helv" WindowFont -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
+ "5x7" WindowFont 5x7
+ "fixed" WindowFont fixed

DestroyMenu Buttons
AddToMenu Buttons
+ "1.?" ButtonStyle 1 5 25x61_at_0 75x61_at_0 25x39_at_0 75x39_at_1 25x61_at_1
+ "2.?" ButtonStyle 2 5 25x75_at_0 75x75_at_0 25x25_at_0 75x25_at_1 25x75_at_1
+ "2.Small up Tri" ButtonStyle 2 4 50x35_at_1 65x65_at_0 35x65_at_0 50x35_at_1
+ "2.Large up Tri" ButtonStyle 2 4 50x25_at_1 75x75_at_0 25x75_at_0 50x25_at_1
+ "2.Big Box" ButtonStyle 2 5 25x25_at_1 25x75_at_1 75x75_at_0 75x25_at_0 25x25_at_1
+ "2.Tall box" ButtonStyle 2 5 40x25_at_1 60x25_at_1 60x75_at_0 40x75_at_0 40x25_at_1
+ "2.Up Arrow" ButtonStyle 2 8 40x80_at_1 40x50_at_1 20x50_at_1 50x20_at_1 80x50_at_0 60x50_at_0 60x80_at_0 40x80_at_0
+ "2.twm" ButtonStyle 2 14 0x0_at_1 0x20_at_1 20x20_at_0 20x0_at_0 0x0_at_1 0x25_at_1 25x25_at_1 25x0_at_1 55x0_at_1 55x55_at_0 0x55_at_0 0x60_at_1 60x60_at_1 60x0_at_1
+ "3.X" ButtonStyle 3 13 26x29_at_1 34x21_at_1 50x35_at_1 70x21_at_1 79x29_at_1 63x48_at_0 79x65_at_1 70x75_at_0 50x61_at_0 34x75_at_0 26x65_at_0 44x48_at_1 26x29_at_0
+ "4.?" ButtonStyle 4 5 39x61_at_0 61x61_at_0 39x39_at_0 61x39_at_1 39x61_at_1
+ "4.Small dn Tri" ButtonStyle 4 4 50x65_at_1 35x35_at_1 65x35_at_1 50x65_at_0
+ "4.Large dn Tri" ButtonStyle 4 4 50x75_at_1 25x25_at_1 75x25_at_1 50x75_at_0
+ "4.Little Box" ButtonStyle 4 5 40x40_at_1 60x40_at_1 60x60_at_0 40x60_at_0 40x40_at_1
+ "4.dot" ButtonStyle 4 5 45x45_at_1 55x45_at_1 55x55_at_0 45x55_at_0 45x45_at_1
# 'three hashes' for sticky/non sticky
#ButtonStyle 4 12 10x23_at_0 90x23_at_0 90x28_at_0 10x28_at_1 10x48_at_1 90x48_at_0 90x53_at_0 10x53_at_1 10x71_at_2 90x72_at_0 90x77_at_0 10x77_at_1

DestroyMenu Color
AddToMenu Color
+ "Green" Function Green
+ "Mono" Function Mono
+ "Pale bg" Function Pale_BG
+ "test" Function test
DestroyMenu test
AddToFunc test
+ "I" xsetroot -solid
+ "I" Color a/b
+ "I" hilightcolor a b
+ "I" recapture
DestroyMenu test
AddToFunc test
+ "I" xsetroot -solid "#266294"
+ "I" HilightColor Black #5f9ea0
+ "I" Style "*" Color Black/#d3d3d3
+ "I" recapture
DestroyMenu Pale_BG
AddToFunc Pale_BG
+ "I" Exec xsetroot -solid "#bfa498"
+ "I" Style "*" Color Black/#60a0c0
+ "I" hilightcolor black #5f9ea0
+ "I" recapture
DestroyMenu Green
AddToFunc "Green"
+ "I" Exec xsetroot -solid darkgreen
+ "I" Style "*" Color black/lightseagreen
+ "I" hilightcolor black limegreen
+ "I" recapture
DestroyMenu Mono
AddToFunc "Mono"
+ "I" Exec xsetroot -solid black
+ "I" Style "*" color white/black
+ "I" hilightcolor black white
+ "I" recapture

-- 
Todd Fries...tfries_at_umr.edu
http://www.umr.edu/~tfries
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Mar 16 1996 - 20:26:44 GMT

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