sessionChooser.bil 4.2 KB

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