| 1 |
! |
| 2 |
! Motif |
| 3 |
! |
| 4 |
! Copyright (c) 1987-2012, The Open Group. All rights reserved. |
| 5 |
! |
| 6 |
! These libraries and programs are free software; you can |
| 7 |
! redistribute them and/or modify them under the terms of the GNU |
| 8 |
! Lesser General Public License as published by the Free Software |
| 9 |
! Foundation; either version 2 of the License, or (at your option) |
| 10 |
! any later version. |
| 11 |
! |
| 12 |
! These libraries and programs are distributed in the hope that |
| 13 |
! they will be useful, but WITHOUT ANY WARRANTY; without even the |
| 14 |
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 15 |
! PURPOSE. See the GNU Lesser General Public License for more |
| 16 |
! details. |
| 17 |
! |
| 18 |
! You should have received a copy of the GNU Lesser General Public |
| 19 |
! License along with these librararies and programs; if not, write |
| 20 |
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth |
| 21 |
! Floor, Boston, MA 02110-1301 USA |
| 22 |
! |
| 23 |
! $XConsortium: system.mwmrc /main/9 1996/10/25 11:45:42 drk $ |
| 24 |
! |
| 25 |
! HISTORY |
| 26 |
! |
| 27 |
|
| 28 |
!! |
| 29 |
!! DEFAULT Mwm RESOURCE DESCRIPTION FILE (system.mwmrc) |
| 30 |
!! |
| 31 |
!! NOTE: To personalize this file, copy this file before editing it. |
| 32 |
!! Personalize copies of the Mwm resource file typically |
| 33 |
!! reside as: |
| 34 |
!! |
| 35 |
!! $HOME/.mwmrc |
| 36 |
!! |
| 37 |
|
| 38 |
!! |
| 39 |
!! Root Menu Description (this menu must be explicitly posted via f.menu) |
| 40 |
!! |
| 41 |
|
| 42 |
Menu DefaultRootMenu |
| 43 |
{ |
| 44 |
"Root Menu" f.title |
| 45 |
"New Window" f.exec "xterm &" |
| 46 |
"Shuffle Up" f.circle_up |
| 47 |
"Shuffle Down" f.circle_down |
| 48 |
"Refresh" f.refresh |
| 49 |
"Pack Icons" f.pack_icons |
| 50 |
! "Toggle Behavior..." f.set_behavior |
| 51 |
no-label f.separator |
| 52 |
"Restart..." f.restart |
| 53 |
"Quit..." f.quit_mwm |
| 54 |
|
| 55 |
} |
| 56 |
|
| 57 |
Menu RootMenu_1.1 |
| 58 |
{ |
| 59 |
"Root Menu" f.title |
| 60 |
"New Window" f.exec "xterm &" |
| 61 |
"Shuffle Up" f.circle_up |
| 62 |
"Shuffle Down" f.circle_down |
| 63 |
"Refresh" f.refresh |
| 64 |
! "Pack Icons" f.pack_icons |
| 65 |
! "Toggle Behavior" f.set_behavior |
| 66 |
no-label f.separator |
| 67 |
"Restart..." f.restart |
| 68 |
} |
| 69 |
|
| 70 |
!! |
| 71 |
!! Default Window Menu Description |
| 72 |
!! |
| 73 |
|
| 74 |
Menu DefaultWindowMenu |
| 75 |
{ |
| 76 |
Restore _R Alt<Key>F5 f.restore |
| 77 |
Move _M Alt<Key>F7 f.move |
| 78 |
Size _S Alt<Key>F8 f.resize |
| 79 |
Minimize _n Alt<Key>F9 f.minimize |
| 80 |
Maximize _x Alt<Key>F10 f.maximize |
| 81 |
Lower _L Alt<Key>F3 f.lower |
| 82 |
no-label f.separator |
| 83 |
Close _C Alt<Key>F4 f.kill |
| 84 |
} |
| 85 |
|
| 86 |
|
| 87 |
!! |
| 88 |
!! Key Binding Description |
| 89 |
!! |
| 90 |
|
| 91 |
Keys DefaultKeyBindings |
| 92 |
{ |
| 93 |
Shift<Key>Escape window|icon f.post_wmenu |
| 94 |
Alt<Key>space window|icon f.post_wmenu |
| 95 |
Alt<Key>Tab root|icon|window f.next_key |
| 96 |
Alt Shift<Key>Tab root|icon|window f.prev_key |
| 97 |
Alt<Key>Escape root|icon|window f.circle_down |
| 98 |
Alt Shift<Key>Escape root|icon|window f.circle_up |
| 99 |
Alt Shift Ctrl<Key>exclam root|icon|window f.set_behavior |
| 100 |
Alt<Key>F6 window f.next_key transient |
| 101 |
Alt Shift<Key>F6 window f.prev_key transient |
| 102 |
Shift<Key>F10 icon f.post_wmenu |
| 103 |
! Alt Shift<Key>Delete root|icon|window f.restart |
| 104 |
} |
| 105 |
|
| 106 |
!! |
| 107 |
!! Button Binding Description(s) |
| 108 |
!! |
| 109 |
|
| 110 |
Buttons DefaultButtonBindings |
| 111 |
{ |
| 112 |
<Btn1Down> icon|frame f.raise |
| 113 |
<Btn3Down> icon|frame f.post_wmenu |
| 114 |
<Btn3Down> root f.menu DefaultRootMenu |
| 115 |
} |
| 116 |
|
| 117 |
Buttons ExplicitButtonBindings |
| 118 |
{ |
| 119 |
<Btn1Down> frame|icon f.raise |
| 120 |
<Btn3Down> frame|icon f.post_wmenu |
| 121 |
<Btn3Down> root f.menu DefaultRootMenu |
| 122 |
! <Btn1Up> icon f.restore |
| 123 |
Alt<Btn1Down> window|icon f.lower |
| 124 |
! Alt<Btn2Down> window|icon f.resize |
| 125 |
! Alt<Btn3Down> window|icon f.move |
| 126 |
|
| 127 |
} |
| 128 |
|
| 129 |
Buttons PointerButtonBindings |
| 130 |
{ |
| 131 |
<Btn1Down> frame|icon f.raise |
| 132 |
<Btn3Down> frame|icon f.post_wmenu |
| 133 |
<Btn3Down> root f.menu DefaultRootMenu |
| 134 |
<Btn1Down> window f.raise |
| 135 |
! <Btn1Up> icon f.restore |
| 136 |
Alt<Btn1Down> window|icon f.lower |
| 137 |
! Alt<Btn2Down> window|icon f.resize |
| 138 |
! Alt<Btn3Down> window|icon f.move |
| 139 |
} |
| 140 |
|
| 141 |
!! |
| 142 |
!! END OF mwm RESOURCE DESCRIPTION FILE |
| 143 |
!! |