1 | ! |
---|
2 | ! (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. |
---|
3 | ! ALL RIGHTS RESERVED |
---|
4 | ! |
---|
5 | ! |
---|
6 | ! Motif Release 1.2 |
---|
7 | ! |
---|
8 | |
---|
9 | !! |
---|
10 | !! DEFAULT Mwm 1.2 RESOURCE DESCRIPTION FILE (system.mwmrc) |
---|
11 | !! |
---|
12 | !! NOTE: To personalize this file, copy this file before editing it. |
---|
13 | !! Personalize copies of the Mwm resource file typically |
---|
14 | !! reside as: |
---|
15 | !! |
---|
16 | !! $HOME/.mwmrc |
---|
17 | !! |
---|
18 | |
---|
19 | !! |
---|
20 | !! Root Menu Description (this menu must be explicitly posted via f.menu) |
---|
21 | !! |
---|
22 | |
---|
23 | Menu DefaultRootMenu |
---|
24 | { |
---|
25 | "Root Menu" f.title |
---|
26 | "New Window" f.exec "xterm &" |
---|
27 | "Shuffle Up" f.circle_up |
---|
28 | "Shuffle Down" f.circle_down |
---|
29 | "Refresh" f.refresh |
---|
30 | "Pack Icons" f.pack_icons |
---|
31 | ! "Toggle Behavior..." f.set_behavior |
---|
32 | no-label f.separator |
---|
33 | "Restart..." f.restart |
---|
34 | ! "Quit..." f.quit_mwm |
---|
35 | |
---|
36 | } |
---|
37 | |
---|
38 | Menu RootMenu_1.1 |
---|
39 | { |
---|
40 | "Root Menu" f.title |
---|
41 | "New Window" f.exec "xterm &" |
---|
42 | "Shuffle Up" f.circle_up |
---|
43 | "Shuffle Down" f.circle_down |
---|
44 | "Refresh" f.refresh |
---|
45 | ! "Pack Icons" f.pack_icons |
---|
46 | ! "Toggle Behavior" f.set_behavior |
---|
47 | no-label f.separator |
---|
48 | "Restart..." f.restart |
---|
49 | } |
---|
50 | |
---|
51 | !! |
---|
52 | !! Default Window Menu Description |
---|
53 | !! |
---|
54 | |
---|
55 | Menu DefaultWindowMenu |
---|
56 | { |
---|
57 | Restore _R Alt<Key>F5 f.restore |
---|
58 | Move _M Alt<Key>F7 f.move |
---|
59 | Size _S Alt<Key>F8 f.resize |
---|
60 | Minimize _n Alt<Key>F9 f.minimize |
---|
61 | Maximize _x Alt<Key>F10 f.maximize |
---|
62 | Lower _L Alt<Key>F3 f.lower |
---|
63 | no-label f.separator |
---|
64 | Close _C Alt<Key>F4 f.kill |
---|
65 | } |
---|
66 | |
---|
67 | |
---|
68 | !! |
---|
69 | !! Key Binding Description |
---|
70 | !! |
---|
71 | |
---|
72 | Keys DefaultKeyBindings |
---|
73 | { |
---|
74 | Shift<Key>Escape window|icon f.post_wmenu |
---|
75 | Alt<Key>space window|icon f.post_wmenu |
---|
76 | Alt<Key>Tab root|icon|window f.next_key |
---|
77 | Alt Shift<Key>Tab root|icon|window f.prev_key |
---|
78 | Alt<Key>Escape root|icon|window f.circle_down |
---|
79 | Alt Shift<Key>Escape root|icon|window f.circle_up |
---|
80 | Alt Shift Ctrl<Key>exclam root|icon|window f.set_behavior |
---|
81 | Alt<Key>F6 window f.next_key transient |
---|
82 | Alt Shift<Key>F6 window f.prev_key transient |
---|
83 | Shift<Key>F10 icon f.post_wmenu |
---|
84 | ! Alt Shift<Key>Delete root|icon|window f.restart |
---|
85 | } |
---|
86 | |
---|
87 | !! |
---|
88 | !! Button Binding Description(s) |
---|
89 | !! |
---|
90 | |
---|
91 | Buttons DefaultButtonBindings |
---|
92 | { |
---|
93 | <Btn1Down> icon|frame f.raise |
---|
94 | <Btn3Down> icon|frame f.post_wmenu |
---|
95 | <Btn3Down> root f.menu DefaultRootMenu |
---|
96 | } |
---|
97 | |
---|
98 | Buttons ExplicitButtonBindings |
---|
99 | { |
---|
100 | <Btn1Down> frame|icon f.raise |
---|
101 | <Btn3Down> frame|icon f.post_wmenu |
---|
102 | <Btn3Down> root f.menu DefaultRootMenu |
---|
103 | ! <Btn1Up> icon f.restore |
---|
104 | Alt<Btn1Down> window|icon f.lower |
---|
105 | ! Alt<Btn2Down> window|icon f.resize |
---|
106 | ! Alt<Btn3Down> window|icon f.move |
---|
107 | |
---|
108 | } |
---|
109 | |
---|
110 | Buttons PointerButtonBindings |
---|
111 | { |
---|
112 | <Btn1Down> frame|icon f.raise |
---|
113 | <Btn3Down> frame|icon f.post_wmenu |
---|
114 | <Btn3Down> root f.menu DefaultRootMenu |
---|
115 | <Btn1Down> window f.raise |
---|
116 | ! <Btn1Up> icon f.restore |
---|
117 | Alt<Btn1Down> window|icon f.lower |
---|
118 | ! Alt<Btn2Down> window|icon f.resize |
---|
119 | ! Alt<Btn3Down> window|icon f.move |
---|
120 | } |
---|
121 | |
---|
122 | !! |
---|
123 | !! END OF mwm RESOURCE DESCRIPTION FILE |
---|
124 | !! |
---|