Fix warnings on FreeBSD
[oweals/cde.git] / cde / programs / ttsnoop / callbackChooser.bil
1 // $XConsortium: callbackChooser.bil /main/2 1996/11/11 11:57:23 drk $
2 :bil-version    1 0
3 :module callbackChooser
4 (
5
6 :element callbackChooser
7 (
8         :type                   :dialog
9         :x                      387
10         :y                      421
11         :width                  337
12         :height                 146
13         :bg-color               "white"
14         :label                  "tt_message_callback_add"
15         :resizable              :true
16         :visible                :false
17         :default-button         callbackAddButton
18         :help-button            callbackAddHelpButton
19         :children               (
20                 callbackPane
21                 dialog_button_panel
22         )
23 )
24 :element callbackPane
25 (
26         :type                   :container
27         :container-type         :relative
28         :x                      0
29         :y                      0
30         :width                  333
31         :height                 142
32         :visible                :true
33         :border-frame           :shadow-in
34         :north-attachment       (:point 0 0)
35         :south-attachment       (:obj callbackChooser 0)
36         :east-attachment        (:obj callbackChooser 0)
37         :west-attachment        (:point 0 0)
38         :children               (
39                 msgDestroyChoice
40                 msgReturnChoice
41                 msgActionChoice
42         )
43 )
44 :element msgDestroyChoice
45 (
46         :type                   :choice
47         :choice-type            :nonexclusive
48         :x                      45
49         :y                      45
50         :label-type             :string
51         :label                  "Then:"
52         :label-position         :west
53         :num-columns            1
54         :orientation            :vertical
55         :selection-required     :false
56         :active                 :true
57         :visible                :true
58         :north-attachment       (:obj msgActionChoice 5)
59         :west-attachment        (:grid-line 13 0)
60         :children               (
61                 msgDestroyChoice_Destroy_item
62         )
63 )
64 :element msgDestroyChoice_Destroy_item
65 (
66         :type                   :item
67         :item-type              :item-for-choice
68         :label-type             :string
69         :label                  "Destroy"
70         :active                 :true
71         :selected               :true
72 )
73 :element msgReturnChoice
74 (
75         :type                   :choice
76         :choice-type            :option-menu
77         :x                      31
78         :y                      83
79         :label-type             :string
80         :label                  "Return:"
81         :label-position         :west
82         :num-columns            1
83         :orientation            :vertical
84         :selection-required     :false
85         :active                 :true
86         :visible                :true
87         :north-attachment       (:obj msgDestroyChoice 5)
88         :west-attachment        (:grid-line 9 0)
89         :children               (
90                 msgReturnChoice_PROCESSED_item
91                 msgReturnChoice_CONTINUE_item
92         )
93 )
94 :element msgReturnChoice_PROCESSED_item
95 (
96         :type                   :item
97         :item-type              :item-for-choice
98         :label-type             :string
99         :label                  "PROCESSED"
100         :active                 :true
101         :selected               :true
102 )
103 :element msgReturnChoice_CONTINUE_item
104 (
105         :type                   :item
106         :item-type              :item-for-choice
107         :label-type             :string
108         :label                  "CONTINUE"
109         :active                 :true
110         :selected               :false
111 )
112 :element msgActionChoice
113 (
114         :type                   :choice
115         :choice-type            :option-menu
116         :x                      58
117         :y                      10
118         :label-type             :string
119         :label                  "Do:"
120         :label-position         :west
121         :num-columns            1
122         :orientation            :vertical
123         :selection-required     :false
124         :active                 :true
125         :visible                :true
126         :north-attachment       (:point 0 10)
127         :west-attachment        (:grid-line 17 0)
128         :children               (
129                 msgActionChoice_Print_item
130                 msgActionChoice_Open_item
131                 msgActionChoice_Accept_item
132                 msgActionChoice_Abstain_item
133                 msgActionChoice_Reply_item
134                 msgActionChoice_Reject_item
135                 msgActionChoice_Fail_item
136         )
137 )
138 :element msgActionChoice_Print_item
139 (
140         :type                   :item
141         :item-type              :item-for-choice
142         :label-type             :string
143         :label                  "Print"
144         :active                 :true
145         :selected               :true
146 )
147 :element msgActionChoice_Open_item
148 (
149         :type                   :item
150         :item-type              :item-for-choice
151         :label-type             :string
152         :label                  "Open"
153         :active                 :true
154         :selected               :false
155 )
156 :element msgActionChoice_Accept_item
157 (
158         :type                   :item
159         :item-type              :item-for-choice
160         :label-type             :string
161         :label                  "Accept"
162         :active                 :true
163         :selected               :false
164 )
165 :element msgActionChoice_Abstain_item
166 (
167         :type                   :item
168         :item-type              :item-for-choice
169         :label-type             :string
170         :label                  "Abstain"
171         :active                 :true
172         :selected               :false
173 )
174 :element msgActionChoice_Reply_item
175 (
176         :type                   :item
177         :item-type              :item-for-choice
178         :label-type             :string
179         :label                  "Reply"
180         :active                 :true
181         :selected               :false
182 )
183 :element msgActionChoice_Reject_item
184 (
185         :type                   :item
186         :item-type              :item-for-choice
187         :label-type             :string
188         :label                  "Reject"
189         :active                 :true
190         :selected               :false
191 )
192 :element msgActionChoice_Fail_item
193 (
194         :type                   :item
195         :item-type              :item-for-choice
196         :label-type             :string
197         :label                  "Fail"
198         :active                 :true
199         :selected               :false
200 )
201 :element dialog_button_panel
202 (
203         :type                   :container
204         :container-type         :button-panel
205         :width                  337
206         :height                 48
207         :visible                :true
208         :border-frame           :none
209         :children               (
210                 callbackAddButton
211                 callbackAddCancelButton
212                 callbackAddHelpButton
213         )
214 )
215 :element callbackAddButton
216 (
217         :type                   :button
218         :button-type            :push-button
219         :label-type             :string
220         :label-alignment        :center
221         :label                  "Add"
222         :active                 :true
223         :visible                :true
224         :north-attachment       (:point 0 5)
225         :east-attachment        (:grid-line 30 0)
226         :west-attachment        (:grid-line 10 0)
227 )
228 :element callbackAddCancelButton
229 (
230         :type                   :button
231         :button-type            :push-button
232         :label-type             :string
233         :label-alignment        :center
234         :label                  "Cancel"
235         :active                 :true
236         :visible                :true
237         :north-attachment       (:point 0 5)
238         :east-attachment        (:grid-line 60 0)
239         :west-attachment        (:grid-line 40 0)
240 )
241 :element callbackAddHelpButton
242 (
243         :type                   :button
244         :button-type            :push-button
245         :label-type             :string
246         :label-alignment        :center
247         :label                  "Help"
248         :active                 :true
249         :visible                :true
250         :north-attachment       (:point 0 5)
251         :east-attachment        (:grid-line 90 0)
252         :west-attachment        (:grid-line 70 0)
253 )
254 :connection
255 (
256         :from                   callbackAddCancelButton
257         :to                     callbackChooser
258         :when                   :activate
259         :action-type            :builtin
260         :action                 :hide
261         :arg-type               :void
262 )
263 :connection
264 (
265         :from                   callbackAddButton
266         :when                   :activate
267         :action-type            :call-function
268         :action                 callbackOkayed
269 )
270 :connection
271 (
272         :from                   msgActionChoice_Open_item
273         :to                     msgDestroyChoice
274         :when                   :activate
275         :action-type            :builtin
276         :action                 :disable
277         :arg-type               :void
278 )
279 :connection
280 (
281         :from                   msgActionChoice_Open_item
282         :to                     msgReturnChoice
283         :when                   :activate
284         :action-type            :builtin
285         :action                 :disable
286         :arg-type               :void
287 )
288 :connection
289 (
290         :from                   msgActionChoice_Print_item
291         :to                     msgDestroyChoice
292         :when                   :activate
293         :action-type            :builtin
294         :action                 :enable
295         :arg-type               :void
296 )
297 :connection
298 (
299         :from                   msgActionChoice_Accept_item
300         :to                     msgDestroyChoice
301         :when                   :activate
302         :action-type            :builtin
303         :action                 :enable
304         :arg-type               :void
305 )
306 :connection
307 (
308         :from                   msgActionChoice_Accept_item
309         :to                     msgReturnChoice
310         :when                   :activate
311         :action-type            :builtin
312         :action                 :enable
313         :arg-type               :void
314 )
315 :connection
316 (
317         :from                   msgActionChoice_Print_item
318         :to                     msgReturnChoice
319         :when                   :activate
320         :action-type            :builtin
321         :action                 :enable
322         :arg-type               :void
323 )
324 :connection
325 (
326         :from                   msgActionChoice_Abstain_item
327         :to                     msgReturnChoice
328         :when                   :activate
329         :action-type            :builtin
330         :action                 :enable
331         :arg-type               :void
332 )
333 :connection
334 (
335         :from                   msgActionChoice_Abstain_item
336         :to                     msgDestroyChoice
337         :when                   :activate
338         :action-type            :builtin
339         :action                 :enable
340         :arg-type               :void
341 )
342 :connection
343 (
344         :from                   msgActionChoice_Reply_item
345         :to                     msgDestroyChoice
346         :when                   :activate
347         :action-type            :builtin
348         :action                 :enable
349         :arg-type               :void
350 )
351 :connection
352 (
353         :from                   msgActionChoice_Reply_item
354         :to                     msgReturnChoice
355         :when                   :activate
356         :action-type            :builtin
357         :action                 :enable
358         :arg-type               :void
359 )
360 :connection
361 (
362         :from                   msgActionChoice_Reject_item
363         :to                     msgReturnChoice
364         :when                   :activate
365         :action-type            :builtin
366         :action                 :enable
367         :arg-type               :void
368 )
369 :connection
370 (
371         :from                   msgActionChoice_Reject_item
372         :to                     msgDestroyChoice
373         :when                   :activate
374         :action-type            :builtin
375         :action                 :enable
376         :arg-type               :void
377 )
378 :connection
379 (
380         :from                   msgActionChoice_Fail_item
381         :to                     msgDestroyChoice
382         :when                   :activate
383         :action-type            :builtin
384         :action                 :enable
385         :arg-type               :void
386 )
387 :connection
388 (
389         :from                   msgActionChoice_Fail_item
390         :to                     msgReturnChoice
391         :when                   :activate
392         :action-type            :builtin
393         :action                 :enable
394         :arg-type               :void
395 )
396 :connection
397 (
398         :from                   callbackAddHelpButton
399         :when                   :activate
400         :action-type            :call-function
401         :action                 callbackHelp
402 )
403 )