Fix warnings on FreeBSD
[oweals/cde.git] / cde / programs / ttsnoop / sessionChooser.bil
1 // $XConsortium: sessionChooser.bil /main/2 1996/11/11 11:58:45 drk $
2 :bil-version    1 0
3 :module sessionChooser
4 (
5
6 :element sessionChooser
7 (
8         :type                   :dialog
9         :x                      67
10         :y                      487
11         :width                  451
12         :height                 120
13         :bg-color               "white"
14         :label                  "tt_message_session_set"
15         :resizable              :true
16         :visible                :false
17         :default-button         sessionOkButton
18         :children               (
19                 sessionPane
20                 dialog_button_panel
21                 sessionChooser_footer
22         )
23 )
24 :element sessionPane
25 (
26         :type                   :container
27         :container-type         :relative
28         :x                      0
29         :y                      0
30         :visible                :true
31         :border-frame           :shadow-in
32         :north-attachment       (:point 0 0)
33         :south-attachment       (:obj sessionChooser 0)
34         :east-attachment        (:obj sessionChooser 0)
35         :west-attachment        (:point 0 0)
36         :children               (
37                 sessionText
38                 defaultSessionButton
39                 xSessionButton
40                 initialSessionButton
41         )
42 )
43 :element sessionText
44 (
45         :type                   :text-field
46         :text-type              :alphanumeric
47         :x                      17
48         :y                      7
49         :label-type             :string
50         :label                  "Session"
51         :label-position         :north
52         :num-columns            57
53         :max-length             256
54         :read-only              :false
55         :active                 :true
56         :visible                :true
57         :north-attachment       (:point 0 7)
58         :east-attachment        (:point 0 0)
59         :west-attachment        (:point 0 0)
60 )
61 :element defaultSessionButton
62 (
63         :type                   :button
64         :button-type            :push-button
65         :x                      52
66         :y                      66
67         :label-type             :string
68         :label-alignment        :center
69         :label                  "Default Session"
70         :active                 :true
71         :visible                :true
72         :north-attachment       (:obj sessionText 10)
73         :east-attachment        (:grid-line 35 0)
74         :west-attachment        (:grid-line 5 0)
75 )
76 :element xSessionButton
77 (
78         :type                   :button
79         :button-type            :push-button
80         :x                      178
81         :y                      66
82         :label-type             :string
83         :label-alignment        :center
84         :label                  "X Session"
85         :active                 :true
86         :visible                :true
87         :north-attachment       (:obj sessionText 10)
88         :east-attachment        (:grid-line 60 0)
89         :west-attachment        (:grid-line 40 0)
90 )
91 :element initialSessionButton
92 (
93         :type                   :button
94         :button-type            :push-button
95         :x                      262
96         :y                      66
97         :label-type             :string
98         :label-alignment        :center
99         :label                  "Initial Session"
100         :active                 :true
101         :visible                :true
102         :north-attachment       (:obj sessionText 10)
103         :east-attachment        (:grid-line 95 0)
104         :west-attachment        (:grid-line 65 0)
105 )
106 :element dialog_button_panel
107 (
108         :type                   :container
109         :container-type         :button-panel
110         :width                  451
111         :height                 48
112         :visible                :true
113         :border-frame           :none
114         :children               (
115                 sessionOkButton
116                 sessionCancelButton
117                 sessionHelpButton
118         )
119 )
120 :element sessionOkButton
121 (
122         :type                   :button
123         :button-type            :push-button
124         :label-type             :string
125         :label-alignment        :center
126         :label                  "Set"
127         :active                 :true
128         :visible                :true
129         :north-attachment       (:point 0 5)
130         :east-attachment        (:grid-line 30 0)
131         :west-attachment        (:grid-line 10 0)
132 )
133 :element sessionCancelButton
134 (
135         :type                   :button
136         :button-type            :push-button
137         :label-type             :string
138         :label-alignment        :center
139         :label                  "Cancel"
140         :active                 :true
141         :visible                :true
142         :north-attachment       (:point 0 5)
143         :east-attachment        (:grid-line 60 0)
144         :west-attachment        (:grid-line 40 0)
145 )
146 :element sessionHelpButton
147 (
148         :type                   :button
149         :button-type            :push-button
150         :label-type             :string
151         :label-alignment        :center
152         :label                  "Help"
153         :active                 :true
154         :visible                :true
155         :north-attachment       (:point 0 5)
156         :east-attachment        (:grid-line 90 0)
157         :west-attachment        (:grid-line 70 0)
158 )
159 :element sessionChooser_footer
160 (
161         :type                   :container
162         :container-type         :footer
163         :width                  451
164         :height                 28
165         :visible                :true
166         :border-frame           :none
167         :children               (
168                 sessionChooser_label
169         )
170 )
171 :element sessionChooser_label
172 (
173         :type                   :label
174         :x                      1
175         :y                      1
176         :label-type             :string
177         :label                  " "
178         :label-alignment        :left
179         :active                 :true
180         :visible                :true
181         :north-attachment       (:point 0 1)
182         :west-attachment        (:point 0 1)
183 )
184 :connection
185 (
186         :from                   sessionCancelButton
187         :to                     sessionChooser
188         :when                   :activate
189         :action-type            :builtin
190         :action                 :hide
191         :arg-type               :void
192 )
193 :connection
194 (
195         :from                   defaultSessionButton
196         :when                   :activate
197         :action-type            :call-function
198         :action                 defaultSession
199 )
200 :connection
201 (
202         :from                   sessionOkButton
203         :when                   :activate
204         :action-type            :call-function
205         :action                 sessionOK
206 )
207 :connection
208 (
209         :from                   sessionHelpButton
210         :when                   :activate
211         :action-type            :call-function
212         :action                 sessionHelp
213 )
214 :connection
215 (
216         :from                   xSessionButton
217         :when                   :activate
218         :action-type            :call-function
219         :action                 xSession
220 )
221 :connection
222 (
223         :from                   initialSessionButton
224         :when                   :activate
225         :action-type            :call-function
226         :action                 initialSession
227 )
228 )