source: trunk/third/xmh/Xmh.ad @ 9903

Revision 9903, 7.6 KB checked in by ghudson, 28 years ago (diff)
Put Athena buttons in the middle of the window.
RevLine 
[9657]1! AppDefaultsVersion should only be defined in the site-wide file
2Xmh.AppDefaultsVersion:         1
3
[9903]4Xmh.Geometry:                   508x736
[9657]5Xmh.ReplyInsertFilter:          cat
6Xmh.SendBreakWidth:             2000
7*ShapeStyle:                    Oval
8*Command.BorderWidth:   1
9*MenuButton.BorderWidth:        1
10*toc*cursor:                    left_ptr
11
12*menuBox.folderButton.Label:    Folder
13*menuBox.tocButton.Label:       Table of Contents
14*menuBox.messageButton.Label:   Message
15*menuBox.sequenceButton.Label:  Sequence
16*menuBox.viewButton.Label:      View
17*menuBox.optionButton.Label:    Options
18*SimpleMenu*SmeLine.Height:     20
19
20*close.Label:                   Close Window
21*compose.Label:                 Compose Message
22*open.Label:                    Open Folder
23*openInNew.Label:               Open Folder in New Window
24*create.Label:                  Create Folder
25*folderMenu*delete.Label:       Delete Folder
26*inc.Label:                     Incorporate New Mail
27*next.Label:                    View Next Message
28*prev.Label:                    View Previous
29*delete.Label:                  Delete
30*move.Label:                    Move
31*copy.Label:                    Copy as Link
32*unmark.Label:                  Unmark
33*viewNew.Label:                 View In New
34*reply.Label:                   Reply
35*forward.Label:                 Forward
36*useAsComp.Label:               Use as Composition
37*commit.Label:                  Commit Changes
38*print.Label:                   Print
39*pack.Label:                    Pack Folder
40*sort.Label:                    Sort Folder
41*rescan.Label:                  Rescan Folder
42*pick.Label:                    Pick
43*openSeq.Label:                 Open Sequence
44*addToSeq.Label:                Add to Sequence
45*removeFromSeq.Label:           Remove from Sequence
46*deleteSeq.Label:               Delete Sequence
47*edit.Label:                    Edit Message
48*save.Label:                    Save Message
49*send.Label:                    Send
50*reset.Label:                   New Headers
51*insert.Label:                  Insert
52*optionMenu*reverse.Label:      Read in Reverse
53
54Xmh.notice.Dialog.Text.BorderWidth: 0
55Xmh.notice.Dialog.Text.TextSink.Font: -*-courier-bold-r-*--*-120-*-*-*-*-iso8859-1
56Xmh.notice.Dialog.confirm.Label:Acknowledged
57Xmh.notice.BorderWidth:         2
58Xmh.confirm.Dialog.yes.Label:   Yes
59Xmh.confirm.Dialog.no.Label:    No
60Xmh.prompt.Dialog.okay.Label:   Okay
61Xmh.prompt.Dialog.cancel.Label: Cancel
62Xmh.error.Dialog.OK.Label:      Acknowledged
63
64*toc.rightMargin:               0
65*toc.scrollVertical:            WhenNeeded
66*view.scrollVertical:           Always
67*view.scrollHorizontal:         WhenNeeded
68*view.autoFill:                 True
69*comp.scrollVertical:           Always
70*comp.scrollHorizontal:         WhenNeeded
71*comp.autoFill:                 True
72
73*sequenceMenu.Translations: #override\n\
74<Btn2Up>:XtMenuPopdown()notify()XmhOpenSequence()unhighlight()\n\
75<Btn3Up>:XtMenuPopdown()XmhPushSequence()notify()XmhAddToSequence()XmhPopSequence()unhighlight()\n\
76<BtnUp>:XtMenuPopdown()notify()unhighlight()\n
77
78*sequenceMenu.baseTranslations: #override\n\
79<Btn2Up>:XtMenuPopdown()notify()XmhOpenSequence()unhighlight()\n\
80<Btn3Up>:XtMenuPopdown()XmhPushSequence()notify()XmhAddToSequence()XmhPopSequence()unhighlight()\n\
81<BtnUp>:XtMenuPopdown()notify()unhighlight()\n
82
83*folders*MenuButton.Translations:#override\n\
84<BtnDown>:set()XmhPopupFolderMenu()\n\
85<Btn2Up>:XmhSetCurrentFolder()XmhOpenFolder()reset()\n\
86<Btn3Up>:XmhPushFolder()XmhSetCurrentFolder()XmhMarkMove()XmhPopFolder()reset()\n\
87<BtnUp>:XmhSetCurrentFolder()reset()\n\
88<LeaveWindow>:reset()XmhLeaveFolderButton()\n
89
90*folders*MenuButton.baseTranslations:#override\n\
91<BtnDown>:set()XmhPopupFolderMenu()\n\
92<Btn2Up>:XmhSetCurrentFolder()XmhOpenFolder()reset()\n\
93<Btn3Up>:XmhPushFolder()XmhSetCurrentFolder()XmhMarkMove()XmhPopFolder()reset()\n\
94<BtnUp>:XmhSetCurrentFolder()reset()\n\
95<LeaveWindow>:reset()XmhLeaveFolderButton()\n
96
97*folders*SimpleMenu.Translations:#override\n\
98<Btn2Up>:XtMenuPopdown()notify()XmhOpenFolder()unhighlight()\n\
99<Btn3Up>:XtMenuPopdown()XmhPushFolder()notify()XmhMarkMove()XmhPopFolder()unhighlight()\n\
100<BtnUp>:XtMenuPopdown()notify()unhighlight()\n
101
102*folders*SimpleMenu.baseTranslations:#override\n\
103<Btn2Up>:XtMenuPopdown()notify()XmhOpenFolder()unhighlight()\n\
104<Btn3Up>:XtMenuPopdown()XmhPushFolder()notify()XmhMarkMove()XmhPopFolder()unhighlight()\n\
105<BtnUp>:XtMenuPopdown()notify()unhighlight()\n
106
107*toc.Translations: #override\n\
108        <Btn2Down>: select-start()\n\
109        <Btn2Up>:select-end(PRIMARY)XmhViewNextMessage()\n\
110        Ctrl<Key>R:     no-op(RingBell)\n\
111        Ctrl<Key>S:     no-op(RingBell)\n
112
113*toc.baseTranslations: #override\n\
114        <Btn2Down>: select-start()\n\
115        <Btn2Up>:select-end(PRIMARY)XmhViewNextMessage()\n\
116        Ctrl<Key>R:     no-op(RingBell)\n\
117        Ctrl<Key>S:     no-op(RingBell)\n
118
119*toc.Accelerators: #override\n\
120        :Ctrl<Key>V:    next-page()\n\
121        :Meta<Key>V:    previous-page()\n
122*view.Accelerators: #override\n\
123        :Ctrl<Key>v:    next-page()\n\
124        :Meta<Key>v:    previous-page()\n
125
126*tocMenu.Accelerators: #override\n\
127        :Meta<Key>I:    XmhIncorporateNewMail()\n\
128        :Meta<Key>C:    XmhCommitChanges()\n\
129        :Meta<Key>R:    XmhForceRescan()\n\
130        :Meta<Key>P:    XmhPackFolder()\n\
131        :Meta<Key>S:    XmhSortFolder()\n
132
133*messageMenu.Accelerators: #override\n\
134         Meta<Key>space: XmhViewNextMessage()\n\
135        :Meta<Key>c:    XmhMarkCopy()\n\
136        :Meta<Key>d:    XmhMarkDelete()\n\
137        :Meta<Key>f:    XmhForward()\n\
138        :Meta<Key>m:    XmhMarkMove()\n\
139        :Meta<Key>n:    XmhViewNextMessage()\n\
140        :Meta<Key>p:    XmhViewPreviousMessage()\n\
141        :Meta<Key>r:    XmhReply()\n\
142        :Meta<Key>u:    XmhUnmark()\n
143
144*viewButtons.close.Translations:#override\n\
145        <Btn1Down>,<Btn1Up>:    XmhCloseView()unset()\n
146*viewButtons.reply.Translations:#override\n\
147        <Btn1Down>,<Btn1Up>:    XmhViewReply()unset()\n
148*viewButtons.forward.Translations:#override\n\
149        <Btn1Down>,<Btn1Up>:    XmhViewForward()unset()\n
150*viewButtons.useAsComp.Translations:#override\n\
151        <Btn1Down>,<Btn1Up>:    XmhViewUseAsComposition()unset()\n
152*viewButtons.edit.Translations:#override\n\
153        <Btn1Down>,<Btn1Up>:    XmhEditView()unset()\n
154*viewButtons.save.Translations:#override\n\
155        <Btn1Down>,<Btn1Up>:    XmhSaveView()unset()\n
156*viewButtons.print.Translations:#override\n\
157        <Btn1Down>,<Btn1Up>:    XmhPrintView()unset()\n
158*viewButtons.delete.Translations:#override\n\
159        <Btn1Down>,<Btn1Up>:    XmhViewMarkDelete()unset()\n
160
161*compButtons.close.Translations:#override\n\
162        <Btn1Down>,<Btn1Up>:    XmhCloseView()unset()\n
163*compButtons.send.Translations:#override\n\
164        <Btn1Down>,<Btn1Up>:    XmhSend()unset()\n
165*compButtons.reset.Translations:#override\n\
166        <Btn1Down>,<Btn1Up>:    XmhResetCompose()unset()\n
167*compButtons.compose.Translations:#override\n\
168        <Btn1Down>,<Btn1Up>:    XmhComposeMessage()unset()\n
169*compButtons.save.Translations:#override\n\
170        <Btn1Down>,<Btn1Up>:    XmhSave()unset()\n
171*compButtons.insert.Translations:#override\n\
172        <Btn1Down>,<Btn1Up>:    XmhInsert()unset()\n
[9903]173
174! The following are the ATHENA specifc changes. These changes are for
175! user interface compatibility and functionality
176
177*InitialIncFile:
178*CommandButtonCount:            11
179
180*commandBox.button1.label:      inc
181*commandBox.button1.translations: #override\
182        <Btn1Down>,<Btn1Up>: XmhIncorporateNewMail() unset()
183
184*commandBox.button2.label:      next
185*commandBox.button2.translations: #override\
186        <Btn1Down>,<Btn1Up>: XmhViewNextMessage() unset()
187
188*commandBox.button3.label:      prev
189*commandBox.button3.translations: #override\
190        <Btn1Down>,<Btn1Up>: XmhViewPreviousMessage() unset()
191
192*commandBox.button4.label:      compose
193*commandBox.button4.translations: #override\
194        <Btn1Down>,<Btn1Up>: XmhComposeMessage() unset()
195
196*commandBox.button5.label:      reply
197*commandBox.button5.translations: #override\
198        <Btn1Down>,<Btn1Up>: XmhViewReply() unset()
199
200*commandBox.button6.label:      forward
201*commandBox.button6.translations: #override\
202        <Btn1Down>,<Btn1Up>: XmhViewForward() unset()
203
204*commandBox.button7.label:      delete
205*commandBox.button7.translations: #override\
206        <Btn1Down>,<Btn1Up>: XmhMarkDelete() unset()
207
208*commandBox.button8.label:      move
209*commandBox.button8.translations: #override\
210        <Btn1Down>,<Btn1Up>: XmhMarkMove() unset()
211
212*commandBox.button9.label:      unmark
213*commandBox.button9.translations: #override\
214        <Btn1Down>,<Btn1Up>: XmhUnmark() unset()
215
216*commandBox.button10.label:     commit
217*commandBox.button10.translations: #override\
218        <Btn1Down>,<Btn1Up>: XmhCommitChanges() unset()
219
220*commandBox.button11.label:     close
221*commandBox.button11.translations: #override\
222        <Btn1Down>,<Btn1Up>: XmhClose() unset()
223
224
225*Font:  fixed
226
227*mailWaitingFlag:       false
228*checkNewMail:  false
Note: See TracBrowser for help on using the repository browser.