home *** CD-ROM | disk | FTP | other *** search
- #
- # (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
- # ALL RIGHTS RESERVED
- #
- #
- # Motif Release 1.2
- #
-
- #
- # DEFAULT mwm RESOURCE DESCRIPTION FILE (.mwmrc)
- #
-
- # Note: This sample resouce file contains menu items to run local X
- # clients only. The following menu item is an example of running a
- # X client on an remote host.
- #
- # "Xcalc" f.exec "xstart xcalc.xs"
- #
- # The Xstart.exe program can be used to create the file '*.xs' which
- # specifies the remote host and the X client command.
-
-
- #
- # menu pane descriptions
- #
-
- Menu MyRootMenu
- {
- @xlogo16 f.title
- "Refresh" f.refresh
- no-label f.separator
- "Toggle Behavior" f.set_behavior
- "Kill Motif Bindings" f.exec "xprop -root -remove _MOTIF_BINDINGS"
- no-label f.separator
- "Restart Mwm" f.restart
- "Quit Mwm" f.quit_mwm
- }
-
- Menu MyAppsMenu
- {
- "Applications" f.title
- "Utilities" f.menu MyUtilMenu
- "Demos" f.menu MyDemoMenu
- no-label f.separator
- "Windows NT Tools" f.menu MyNtMenu
- }
-
- Menu MyUtilMenu
- {
- "Xev" f.exec "xev"
- "Xdpyinfo" f.exec "xdpyinfo"
- "Bitmap" f.exec "bitmap"
- "Seltest" f.exec "seltest"
- "XCmap" f.exec "showcmap"
- }
-
- Menu MyDemoMenu
- {
- "Ico" f.exec "ico"
- "Maze" f.exec "maze"
- "Xlogo" f.exec "xlogo"
- no-label f.separator
- "Periodic" f.exec "periodic"
- "Motifanim" f.exec "motifani"
- }
-
- Menu MyNtMenu
- {
- "Notepad" f.exec "notepad"
- }
-
- Menu MyMwmMenu
- {
- "Mwm functions" f.title
- "Next Icon" f.next_key icon
- "Next Window" f.next_key window
- "Next Transient" f.next_key transient
- no-label f.separator
- "Pack Icons" f.pack_icons
- "Refresh" f.refresh
- no-label f.separator
- "Kill Motif Bindings" f.exec "xprop -root -remove _MOTIF_BINDINGS"
- "Toggle Behavior" f.set_behavior
- "Toggle Pass keys" f.pass_keys
- no-label f.separator
- "Restart Mwm" f.restart
- "Quit Mwm" f.quit_mwm
- }
-
- # Default Window Menu Description
-
- Menu MyWindowMenu
- {
- Restore _R Alt<Key>F5 f.normalize
- Move _M Alt<Key>F7 f.move
- Size _S Alt<Key>F8 f.resize
- Minimize _n Alt<Key>F9 f.minimize
- Maximize _x Alt<Key>F10 f.maximize
- Refresh _f Alt<Key>F2 f.refresh_win
- Lower _L Alt<Key>F3 f.lower
- no-label f.separator
- Close _C Alt<Key>F4 f.kill
- }
-
-
- #
- # key binding descriptions
- #
-
- #Keys MyKeyBindings
- Keys DefaultKeyBindings
- {
- Shift<Key>Escape window|icon f.post_wmenu
- Meta<Key>space window|icon f.post_wmenu
- Ctrl<Key>Tab root|icon|window f.next_key
- Ctrl Shift<Key>Tab root|icon|window f.prev_key
- Shift<Key>Escape root|icon|window f.circle_up
- Ctrl Shift<Key>Escape root|icon|window f.circle_down
- Meta Shift Ctrl<Key>F10 root|icon|window f.set_behavior
- Meta<Key>F6 window f.next_key transient
- Meta Shift<Key>F6 window f.prev_key transient
- <Key>F4 icon f.post_wmenu
- Ctrl<Key>F5 root|icon|window f.restart
- }
-
- #
- # button binding descriptions
- #
-
- Buttons MyExplicitButtonBindings
- {
- <Btn1Down> frame|icon f.raise
- <Btn3Down> frame|icon f.post_wmenu
- <Btn1Down> root f.menu MyRootMenu
- <Btn2Down> root f.menu MyAppsMenu
- <Btn3Down> root f.menu MyMwmMenu
- Ctrl<Btn1Down> window|icon f.lower
- Ctrl<Btn2Down> window|icon f.resize
- Ctrl<Btn3Down> window|icon f.move
- Ctrl Shift<Btn1Down> window|icon f.minimize
- Ctrl Shift<Btn2Down> window|icon f.focus_color
- Ctrl Shift<Btn3Down> window|icon f.post_wmenu
- }
-
- #Buttons MyPointerButtonBindings
- Buttons DefaultButtonBindings
- {
- <Btn1Down> frame|icon f.raise
- <Btn3Down> frame|icon f.post_wmenu
- <Btn1Down> root f.menu MyRootMenu
- <Btn2Down> root f.menu MyAppsMenu
- <Btn3Down> root f.menu MyMwmMenu
- <Btn1Down> window f.raise
- Shift <Btn1Down> window|icon f.lower
- Shift <Btn2Down> window|icon f.resize
- Shift <Btn3Down> window|icon f.move
- Ctrl Shift<Btn1Down> window|icon f.minimize
- Ctrl Shift<Btn2Down> window|icon f.next_cmap
- Ctrl Shift<Btn3Down> window|icon f.post_wmenu
- }
-
- #
- # END OF mwm RESOURCE DESCRIPTION FILE
- #
-
-