Fix warnings on FreeBSD
[oweals/cde.git] / cde / programs / ttsnoop / argChooser.bil
1 // $XConsortium: argChooser.bil /main/2 1996/11/11 11:57:01 drk $
2 :bil-version    1 0
3 :module argChooser
4 (
5
6 :element argChooser
7 (
8         :type                   :dialog
9         :x                      380
10         :y                      435
11         :width                  595
12         :height                 282
13         :bg-color               "white"
14         :label                  "tt_message_arg_add"
15         :resizable              :true
16         :visible                :false
17         :children               (
18                 argPane
19                 dialog_button_panel
20         )
21 )
22 :element argPane
23 (
24         :type                   :container
25         :container-type         :relative
26         :x                      0
27         :y                      0
28         :width                  591
29         :height                 278
30         :visible                :true
31         :border-frame           :shadow-in
32         :north-attachment       (:point 0 0)
33         :south-attachment       (:obj argChooser 0)
34         :east-attachment        (:obj argChooser 0)
35         :west-attachment        (:point 0 0)
36         :children               (
37                 modeChoice
38                 vtypeText
39                 argValTypeChoice
40                 argIvalBox
41                 argValText
42         )
43 )
44 :element modeChoice
45 (
46         :type                   :choice
47         :choice-type            :option-menu
48         :x                      20
49         :y                      9
50         :label-type             :string
51         :label                  "Mode:"
52         :label-position         :west
53         :num-columns            1
54         :orientation            :vertical
55         :selection-required     :false
56         :active                 :true
57         :visible                :true
58         :north-attachment       (:point 0 9)
59         :west-attachment        (:point 0 20)
60         :children               (
61                 modeChoice_IN_item
62                 modeChoice_OUT_item
63                 modeChoice_INOUT_item
64         )
65 )
66 :element modeChoice_IN_item
67 (
68         :type                   :item
69         :item-type              :item-for-choice
70         :label-type             :string
71         :label                  "IN"
72         :active                 :true
73         :selected               :true
74 )
75 :element modeChoice_OUT_item
76 (
77         :type                   :item
78         :item-type              :item-for-choice
79         :label-type             :string
80         :label                  "OUT"
81         :active                 :true
82         :selected               :false
83 )
84 :element modeChoice_INOUT_item
85 (
86         :type                   :item
87         :item-type              :item-for-choice
88         :label-type             :string
89         :label                  "INOUT"
90         :active                 :true
91         :selected               :false
92 )
93 :element vtypeText
94 (
95         :type                   :text-field
96         :text-type              :alphanumeric
97         :x                      169
98         :y                      11
99         :label-type             :string
100         :label                  "Vtype:"
101         :label-position         :west
102         :num-columns            25
103         :max-length             80
104         :read-only              :false
105         :active                 :true
106         :visible                :true
107         :north-attachment       (:point 0 11)
108         :west-attachment        (:obj modeChoice 18)
109 )
110 :element argValTypeChoice
111 (
112         :type                   :choice
113         :choice-type            :option-menu
114         :x                      33
115         :y                      57
116         :label-type             :string
117         :label                  "Val:"
118         :label-position         :west
119         :num-columns            1
120         :orientation            :vertical
121         :selection-required     :false
122         :active                 :true
123         :visible                :true
124         :north-attachment       (:obj modeChoice 17)
125         :west-attachment        (:point 0 33)
126         :children               (
127                 argValTypeChoice_None_item
128                 argValTypeChoice_char_item
129                 argValTypeChoice_int_item
130         )
131 )
132 :element argValTypeChoice_None_item
133 (
134         :type                   :item
135         :item-type              :item-for-choice
136         :label-type             :string
137         :label                  "None"
138         :active                 :true
139         :selected               :true
140 )
141 :element argValTypeChoice_char_item
142 (
143         :type                   :item
144         :item-type              :item-for-choice
145         :label-type             :string
146         :label                  "char *"
147         :active                 :true
148         :selected               :false
149 )
150 :element argValTypeChoice_int_item
151 (
152         :type                   :item
153         :item-type              :item-for-choice
154         :label-type             :string
155         :label                  "int"
156         :active                 :true
157         :selected               :false
158 )
159 :element argIvalBox
160 (
161         :type                   :spinbox
162         :label-type             :string
163         :label                  "int:"
164         :label-position         :west
165         :text-type              :numeric
166         :arrow-style            :arrow-end
167         :min-value              -9999999
168         :max-value              99999999
169         :initial-value          0
170         :increment              1
171         :decimal-points         0
172         :visible                :true
173         :active                 :true
174         :x                      188
175         :y                      56
176         :width                  100
177         :north-attachment       (:obj modeChoice 16)
178         :west-attachment        (:obj modeChoice 37)
179 )
180 :element argValText
181 (
182         :type                   :text-pane
183         :text-type              :alphanumeric
184         :x                      0
185         :y                      97
186         :border-frame           :none
187         :num-rows               12
188         :num-columns            79
189         :hscrollbar             :never
190         :vscrollbar             :always
191         :word-wrap              :true
192         :read-only              :false
193         :active                 :true
194         :visible                :true
195         :north-attachment       (:obj argValTypeChoice 9)
196         :south-attachment       (:obj argPane 0)
197         :east-attachment        (:obj argPane 0)
198         :west-attachment        (:point 0 0)
199 )
200 :element dialog_button_panel
201 (
202         :type                   :container
203         :container-type         :button-panel
204         :width                  595
205         :height                 48
206         :visible                :true
207         :border-frame           :none
208         :children               (
209                 argChooserOkButton
210                 argChooserCancelButton
211                 argChooserHelpButton
212         )
213 )
214 :element argChooserOkButton
215 (
216         :type                   :button
217         :button-type            :push-button
218         :label-type             :string
219         :label-alignment        :center
220         :label                  "Add"
221         :active                 :true
222         :visible                :true
223         :north-attachment       (:point 0 5)
224         :east-attachment        (:grid-line 30 0)
225         :west-attachment        (:grid-line 10 0)
226 )
227 :element argChooserCancelButton
228 (
229         :type                   :button
230         :button-type            :push-button
231         :label-type             :string
232         :label-alignment        :center
233         :label                  "Cancel"
234         :active                 :true
235         :visible                :true
236         :north-attachment       (:point 0 5)
237         :east-attachment        (:grid-line 60 0)
238         :west-attachment        (:grid-line 40 0)
239 )
240 :element argChooserHelpButton
241 (
242         :type                   :button
243         :button-type            :push-button
244         :label-type             :string
245         :label-alignment        :center
246         :label                  "Help"
247         :active                 :true
248         :visible                :true
249         :north-attachment       (:point 0 5)
250         :east-attachment        (:grid-line 90 0)
251         :west-attachment        (:grid-line 70 0)
252 )
253 :connection
254 (
255         :from                   argValTypeChoice_None_item
256         :to                     argIvalBox
257         :when                   :activate
258         :action-type            :builtin
259         :action                 :disable
260         :arg-type               :void
261 )
262 :connection
263 (
264         :from                   argValTypeChoice_char_item
265         :to                     argIvalBox
266         :when                   :activate
267         :action-type            :builtin
268         :action                 :disable
269         :arg-type               :void
270 )
271 :connection
272 (
273         :from                   argValTypeChoice_int_item
274         :to                     argIvalBox
275         :when                   :activate
276         :action-type            :builtin
277         :action                 :enable
278         :arg-type               :void
279 )
280 :connection
281 (
282         :from                   argChooserOkButton
283         :to                     argChooser
284         :when                   :activate
285         :action-type            :builtin
286         :action                 :hide
287         :arg-type               :void
288 )
289 :connection
290 (
291         :from                   argChooserCancelButton
292         :to                     argChooser
293         :when                   :activate
294         :action-type            :builtin
295         :action                 :hide
296         :arg-type               :void
297 )
298 :connection
299 (
300         :from                   argValTypeChoice_None_item
301         :to                     argValText
302         :when                   :activate
303         :action-type            :builtin
304         :action                 :disable
305         :arg-type               :void
306 )
307 :connection
308 (
309         :from                   argValTypeChoice_int_item
310         :to                     argValText
311         :when                   :activate
312         :action-type            :builtin
313         :action                 :disable
314         :arg-type               :void
315 )
316 :connection
317 (
318         :from                   argValTypeChoice_char_item
319         :to                     argValText
320         :when                   :activate
321         :action-type            :builtin
322         :action                 :enable
323         :arg-type               :void
324 )
325 :connection
326 (
327         :from                   argChooserOkButton
328         :when                   :activate
329         :action-type            :call-function
330         :action                 argOkayed
331 )
332 :connection
333 (
334         :from                   argChooserHelpButton
335         :when                   :activate
336         :action-type            :call-function
337         :action                 argHelp
338 )
339 )