Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtappbuilder / src / ab / label.bil
1  
2 //       $XConsortium: label.bil /main/3 1995/11/06 17:31:27 rswiston $
3 //
4 // @(#)label.bil        1.16 18 Jan 1995
5 //
6 //       RESTRICTED CONFIDENTIAL INFORMATION:
7 //
8 //       The information in this document is subject to special
9 //       restrictions in a confidential disclosure agreement between
10 //       HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
11 //       document outside HP, IBM, Sun, USL, SCO, or Univel without
12 //       Sun's specific written approval.  This document and all copies
13 //       and derivative works thereof must be returned or destroyed at
14 //       Sun's request.
15 //
16 //       Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
17 //
18
19 :bil-version    1 0
20 :module label
21 (
22
23 :element prop_dialog
24 (
25         :type                   :dialog
26         :bg-color               "white"
27         :label                  "Label Property Editor"
28         :resizable              :true
29         :visible                :false
30         :default-button         apply_button
31         :help-button            help_button
32         :help-volume            "AppBuilder"
33         :help-location          "ABPropsEditor"
34         :help-text              "This Property Editor allows Label object attributes to be examined or altered.\n"
35         :children               (
36                 objlist_panel
37                 attrs_ctrlpanel
38                 activate_panel
39         )
40 )
41 :element objlist_panel
42 (
43         :type                   :container
44         :container-type         :relative
45         :x                      0
46         :y                      0
47         :visible                :true
48         :border-frame           :none
49         :north-attachment       (:point 0 0)
50         :east-attachment        (:obj prop_dialog 0)
51         :west-attachment        (:point 0 0)
52         :children               (
53                 objlist_label
54                 objlist
55         )
56 )
57 :element objlist_label
58 (
59         :type                   :label
60         :x                      81
61         :y                      3
62         :label-type             :string
63         :label                  "Label\nObjects:"
64         :label-alignment        :right
65         :active                 :true
66         :visible                :true
67         :north-attachment       (:point 0 3)
68         :east-attachment        (:grid-line 32 0)
69 )
70 :element objlist
71 (
72         :type                   :list
73         :x                      153
74         :y                      2
75         :selection-mode         :browse
76         :selection-required     :false
77         :num-rows               4
78         :active                 :true
79         :visible                :true
80         :north-attachment       (:point 0 4)
81         :south-attachment       (:point 0 4)
82         :east-attachment        (:point 0 4)
83         :west-attachment        (:grid-line 32 4)
84 )
85 :element attrs_ctrlpanel
86 (
87         :type                   :container
88         :container-type         :relative
89         :x                      0
90         :y                      76
91         :visible                :true
92         :border-frame           :shadow-in
93         :north-attachment       (:obj objlist_panel 0)
94         :south-attachment       (:point 0 0)
95         :east-attachment        (:point 0 0)
96         :west-attachment        (:point 0 0)
97         :children               (
98                 name_cb
99                 labeltype_cb
100                 label_cb
101                 labelalign_cb
102                 istate_cb
103                 bg_cb
104                 group
105                 fg_cb
106                 szpolicy_cb
107                 geom_cb
108                 group6
109                 separator2
110                 group3
111                 group5
112         )
113 )
114 :element name_cb
115 (
116         :type                   :separator
117         :line-style             :none
118         :orientation            :vertical
119         :x                      2
120         :y                      5
121         :width                  3
122         :height                 24
123         :bg-color               "white"
124         :visible                :true
125         :north-attachment       (:point 0 5)
126         :west-attachment        (:point 0 2)
127 )
128 :element labeltype_cb
129 (
130         :type                   :separator
131         :line-style             :none
132         :orientation            :vertical
133         :x                      2
134         :y                      38
135         :width                  3
136         :height                 24
137         :bg-color               "white"
138         :visible                :true
139         :north-attachment       (:point 0 38)
140         :west-attachment        (:point 0 2)
141 )
142 :element label_cb
143 (
144         :type                   :separator
145         :line-style             :none
146         :orientation            :vertical
147         :x                      2
148         :y                      69
149         :width                  3
150         :height                 39
151         :bg-color               "white"
152         :visible                :true
153         :north-attachment       (:point 0 69)
154         :west-attachment        (:point 0 2)
155 )
156 :element labelalign_cb
157 (
158         :type                   :separator
159         :line-style             :none
160         :orientation            :vertical
161         :x                      2
162         :y                      117
163         :width                  3
164         :height                 24
165         :bg-color               "white"
166         :visible                :true
167         :north-attachment       (:point 0 117)
168         :west-attachment        (:point 0 2)
169 )
170 :element istate_cb
171 (
172         :type                   :separator
173         :line-style             :none
174         :orientation            :vertical
175         :x                      2
176         :y                      220
177         :width                  3
178         :height                 24
179         :bg-color               "white"
180         :visible                :true
181         :north-attachment       (:point 0 220)
182         :west-attachment        (:point 0 2)
183 )
184 :element bg_cb
185 (
186         :type                   :separator
187         :line-style             :none
188         :orientation            :vertical
189         :x                      2
190         :y                      250
191         :width                  3
192         :height                 24
193         :bg-color               "white"
194         :visible                :true
195         :north-attachment       (:point 0 250)
196         :west-attachment        (:point 0 2)
197 )
198 :element group
199 (
200         :type                   :container
201         :container-type         :group
202         :active                 :true
203         :x                      131
204         :y                      457
205         :group-type             :ignore
206         :border-frame           :none
207         :north-attachment       (:point 0 457)
208         :west-attachment        (:point 0 131)
209 )
210 :element fg_cb
211 (
212         :type                   :separator
213         :line-style             :none
214         :orientation            :vertical
215         :x                      2
216         :y                      280
217         :width                  3
218         :height                 24
219         :bg-color               "white"
220         :visible                :true
221         :north-attachment       (:point 0 280)
222         :west-attachment        (:point 0 2)
223 )
224 :element szpolicy_cb
225 (
226         :type                   :separator
227         :line-style             :none
228         :orientation            :vertical
229         :x                      2
230         :y                      158
231         :width                  3
232         :height                 24
233         :bg-color               "white"
234         :visible                :true
235         :north-attachment       (:point 0 158)
236         :west-attachment        (:point 0 2)
237 )
238 :element geom_cb
239 (
240         :type                   :separator
241         :line-style             :none
242         :orientation            :vertical
243         :x                      2
244         :y                      189
245         :width                  3
246         :height                 24
247         :bg-color               "white"
248         :visible                :true
249         :north-attachment       (:point 0 189)
250         :west-attachment        (:point 0 2)
251 )
252 :element group6
253 (
254         :type                   :container
255         :container-type         :group
256         :active                 :true
257         :x                      58
258         :y                      337
259         :group-type             :row
260         :row-alignment          :hcenter
261         :hoffset                10
262         :hattach_type           :obj
263         :border-frame           :none
264         :north-attachment       (:obj group5 15)
265         :south-attachment       (:point 0 15)
266         :west-attachment        (:point 0 69)
267         :children               (
268                 attach_button
269                 helptxt_button
270                 conn_button
271         )
272 )
273 :element attach_button
274 (
275         :type                   :button
276         :button-type            :push-button
277         :label-type             :string
278         :label-alignment        :center
279         :label                  "Attachments..."
280         :active                 :false
281         :visible                :true
282 )
283 :element helptxt_button
284 (
285         :type                   :button
286         :button-type            :push-button
287         :label-type             :string
288         :label-alignment        :center
289         :label                  "Help Text..."
290         :active                 :true
291         :visible                :true
292 )
293 :element conn_button
294 (
295         :type                   :button
296         :button-type            :push-button
297         :label-type             :string
298         :label-alignment        :center
299         :label                  "Connections..."
300         :active                 :true
301         :visible                :true
302 )
303 :element separator2
304 (
305         :type                   :separator
306         :line-style             :etched-in
307         :orientation            :horizontal
308         :x                      7
309         :y                      155
310         :width                  425
311         :height                 8
312         :visible                :true
313         :north-attachment       (:obj group3 5)
314         :east-attachment        (:point 0 4)
315         :west-attachment        (:point 0 4)
316 )
317 :element group3
318 (
319         :type                   :container
320         :container-type         :group
321         :active                 :true
322         :x                      14
323         :y                      2
324         :group-type             :column
325         :column-alignment       :labels
326         :voffset                1
327         :vattach_type           :obj
328         :border-frame           :none
329         :north-attachment       (:point 0 4)
330         :west-attachment        (:point 0 14)
331         :children               (
332                 name_field
333                 labeltype_rbox
334                 group2
335                 labelalign_opmenu
336         )
337 )
338 :element name_field
339 (
340         :type                   :text-field
341         :text-type              :alphanumeric
342         :label-type             :string
343         :label                  "Object Name:"
344         :label-position         :west
345         :num-columns            30
346         :max-length             80
347         :read-only              :false
348         :active                 :true
349         :visible                :true
350 )
351 :element labeltype_rbox
352 (
353         :type                   :choice
354         :choice-type            :option-menu
355         :label-type             :string
356         :label                  "Label Type:"
357         :label-position         :west
358         :num-columns            1
359         :orientation            :horizontal
360         :selection-required     :false
361         :active                 :true
362         :visible                :true
363         :children               (
364                 labeltype_rbox_String_item
365                 labeltype_rbox_Graphic_item
366         )
367 )
368 :element labeltype_rbox_String_item
369 (
370         :type                   :item
371         :item-type              :item-for-choice
372         :label-type             :string
373         :label                  "String"
374         :active                 :true
375         :selected               :true
376 )
377 :element labeltype_rbox_Graphic_item
378 (
379         :type                   :item
380         :item-type              :item-for-choice
381         :label-type             :string
382         :label                  "Graphic"
383         :active                 :true
384         :selected               :false
385 )
386 :element group2
387 (
388         :type                   :container
389         :container-type         :group
390         :active                 :true
391         :group-type             :row
392         :row-alignment          :top
393         :hoffset                4
394         :hattach_type           :obj
395         :border-frame           :none
396         :children               (
397                 label_label
398                 label_textpane
399                 graphic_hint
400         )
401 )
402 :element label_label
403 (
404         :type                   :label
405         :label-type             :string
406         :label                  "Graphic Filename:"
407         :label-alignment        :center
408         :active                 :true
409         :visible                :true
410 )
411 :element label_textpane
412 (
413         :type                   :text-pane
414         :text-type              :alphanumeric
415         :border-frame           :none
416         :num-rows               2
417         :num-columns            22
418         :hscrollbar             :never
419         :vscrollbar             :always
420         :word-wrap              :true
421         :read-only              :false
422         :active                 :true
423         :visible                :true
424 )
425 :element graphic_hint
426 (
427         :type                   :label
428         :label-type             :string
429         :label                  ".pm/.bm"
430         :label-alignment        :center
431         :active                 :true
432         :visible                :true
433 )
434 :element labelalign_opmenu
435 (
436         :type                   :choice
437         :choice-type            :option-menu
438         :label-type             :string
439         :label                  "Label Alignment:"
440         :label-position         :west
441         :num-columns            1
442         :orientation            :horizontal
443         :selection-required     :false
444         :active                 :true
445         :visible                :true
446         :children               (
447                 labelalign_opmenu_Left_item
448                 labelalign_opmenu_Right_item
449                 labelalign_opmenu_Centered_item
450         )
451 )
452 :element labelalign_opmenu_Left_item
453 (
454         :type                   :item
455         :item-type              :item-for-choice
456         :label-type             :string
457         :label                  "Left"
458         :active                 :true
459         :selected               :true
460 )
461 :element labelalign_opmenu_Right_item
462 (
463         :type                   :item
464         :item-type              :item-for-choice
465         :label-type             :string
466         :label                  "Right"
467         :active                 :true
468         :selected               :false
469 )
470 :element labelalign_opmenu_Centered_item
471 (
472         :type                   :item
473         :item-type              :item-for-choice
474         :label-type             :string
475         :label                  "Centered"
476         :active                 :true
477         :selected               :false
478 )
479 :element group5
480 (
481         :type                   :container
482         :container-type         :group
483         :active                 :true
484         :x                      48
485         :y                      160
486         :group-type             :column
487         :column-alignment       :labels
488         :voffset                2
489         :vattach_type           :obj
490         :border-frame           :none
491         :north-attachment       (:obj separator2 4)
492         :west-attachment        (:point 0 48)
493         :children               (
494                 szpolicy_rbox
495                 group1
496                 istate_ckbox
497                 group4
498         )
499 )
500 :element szpolicy_rbox
501 (
502         :type                   :choice
503         :choice-type            :exclusive
504         :label-type             :string
505         :label                  "Size Policy:"
506         :label-position         :west
507         :num-columns            1
508         :orientation            :horizontal
509         :selection-required     :false
510         :active                 :false
511         :visible                :true
512         :children               (
513                 szpolicy_rbox_Size_of_Label_item
514                 szpolicy_rbox_Fixed_item
515         )
516 )
517 :element szpolicy_rbox_Size_of_Label_item
518 (
519         :type                   :item
520         :item-type              :item-for-choice
521         :label-type             :string
522         :label                  "Size of Label"
523         :active                 :true
524         :selected               :true
525 )
526 :element szpolicy_rbox_Fixed_item
527 (
528         :type                   :item
529         :item-type              :item-for-choice
530         :label-type             :string
531         :label                  "Fixed"
532         :active                 :true
533         :selected               :false
534 )
535 :element group1
536 (
537         :type                   :container
538         :container-type         :group
539         :active                 :true
540         :group-type             :row
541         :row-alignment          :hcenter
542         :hoffset                4
543         :hattach_type           :obj
544         :border-frame           :none
545         :children               (
546                 geom_label
547                 x_field
548                 y_field
549                 width_field
550                 height_field
551         )
552 )
553 :element geom_label
554 (
555         :type                   :label
556         :label-type             :string
557         :label                  "Geometry:"
558         :label-alignment        :center
559         :active                 :true
560         :visible                :true
561 )
562 :element x_field
563 (
564         :type                   :text-field
565         :text-type              :alphanumeric
566         :label-type             :string
567         :label                  "X:"
568         :label-position         :west
569         :num-columns            3
570         :max-length             3
571         :read-only              :false
572         :active                 :true
573         :visible                :true
574 )
575 :element y_field
576 (
577         :type                   :text-field
578         :text-type              :alphanumeric
579         :label-type             :string
580         :label                  "Y:"
581         :label-position         :west
582         :num-columns            3
583         :max-length             3
584         :read-only              :false
585         :active                 :true
586         :visible                :true
587 )
588 :element width_field
589 (
590         :type                   :text-field
591         :text-type              :alphanumeric
592         :label-type             :string
593         :label                  "W:"
594         :label-position         :west
595         :num-columns            4
596         :max-length             3
597         :read-only              :false
598         :active                 :true
599         :visible                :true
600 )
601 :element height_field
602 (
603         :type                   :text-field
604         :text-type              :alphanumeric
605         :label-type             :string
606         :label                  "H:"
607         :label-position         :west
608         :num-columns            4
609         :max-length             3
610         :read-only              :false
611         :active                 :true
612         :visible                :true
613 )
614 :element istate_ckbox
615 (
616         :type                   :choice
617         :choice-type            :nonexclusive
618         :label-type             :string
619         :label                  "Initial State:"
620         :label-position         :west
621         :num-columns            1
622         :orientation            :horizontal
623         :selection-required     :false
624         :active                 :true
625         :visible                :true
626         :children               (
627                 istate_ckbox_Visible_item
628                 istate_ckbox_Active_item
629         )
630 )
631 :element istate_ckbox_Visible_item
632 (
633         :type                   :item
634         :item-type              :item-for-choice
635         :label-type             :string
636         :label                  "Visible"
637         :active                 :true
638         :selected               :true
639 )
640 :element istate_ckbox_Active_item
641 (
642         :type                   :item
643         :item-type              :item-for-choice
644         :label-type             :string
645         :label                  "Active"
646         :active                 :true
647         :selected               :true
648 )
649 :element group4
650 (
651         :type                   :container
652         :container-type         :group
653         :active                 :true
654         :group-type             :ignore
655         :border-frame           :none
656         :children               (
657                 color_label
658                 bg_mbutton
659                 bg_swatch
660                 bg_field
661                 fg_mbutton
662                 fg_swatch
663                 fg_field
664         )
665 )
666 :element color_label
667 (
668         :type                   :label
669         :x                      0
670         :y                      2
671         :label-type             :string
672         :label                  "Color:"
673         :label-alignment        :center
674         :active                 :true
675         :visible                :true
676         :north-attachment       (:point 0 1)
677         :west-attachment        (:point 0 0)
678 )
679 :element bg_mbutton
680 (
681         :type                   :button
682         :button-type            :menu-button
683         :x                      55
684         :y                      1
685         :label-type             :string
686         :label-alignment        :center
687         :label                  "Background"
688         :menu                   bg_mbutton_menu
689         :active                 :true
690         :visible                :true
691         :north-attachment       (:point 0 1)
692         :west-attachment        (:obj color_label 4)
693 )
694 :element bg_swatch
695 (
696         :type                   :label
697         :x                      179
698         :y                      4
699         :bg-color               "black"
700         :label-type             :string
701         :label                  "  "
702         :label-alignment        :center
703         :active                 :true
704         :visible                :true
705         :north-attachment       (:obj-edge bg_mbutton 3)
706         :south-attachment       (:obj-edge bg_mbutton 3)
707         :west-attachment        (:obj bg_mbutton 4)
708 )
709 :element bg_field
710 (
711         :type                   :text-field
712         :text-type              :alphanumeric
713         :x                      197
714         :y                      0
715         :num-columns            12
716         :max-length             36
717         :read-only              :false
718         :active                 :true
719         :visible                :true
720         :north-attachment       (:point 0 0)
721         :east-attachment        (:point 0 0)
722         :west-attachment        (:obj bg_swatch 4)
723 )
724 :element fg_mbutton
725 (
726         :type                   :button
727         :button-type            :menu-button
728         :x                      57
729         :y                      31
730         :label-type             :string
731         :label-alignment        :center
732         :label                  "Foreground"
733         :menu                   fg_mbutton_menu
734         :active                 :true
735         :visible                :true
736         :north-attachment       (:obj bg_mbutton 5)
737         :west-attachment        (:obj color_label 4)
738 )
739 :element fg_swatch
740 (
741         :type                   :label
742         :x                      179
743         :y                      34
744         :bg-color               "white"
745         :label-type             :string
746         :label                  "  "
747         :label-alignment        :center
748         :active                 :true
749         :visible                :true
750         :north-attachment       (:obj-edge fg_mbutton 3)
751         :south-attachment       (:obj-edge fg_mbutton 3)
752         :west-attachment        (:obj fg_mbutton 5)
753 )
754 :element fg_field
755 (
756         :type                   :text-field
757         :text-type              :alphanumeric
758         :x                      197
759         :y                      30
760         :num-columns            12
761         :max-length             36
762         :read-only              :false
763         :active                 :true
764         :visible                :true
765         :north-attachment       (:obj bg_mbutton 4)
766         :east-attachment        (:point 0 0)
767         :west-attachment        (:obj fg_swatch 5)
768 )
769 :element activate_panel
770 (
771         :type                   :container
772         :container-type         :button-panel
773         :height                 36
774         :visible                :true
775         :border-frame           :none
776         :children               (
777                 ok_button
778                 apply_button
779                 reset_button
780                 cancel_button
781                 help_button
782         )
783 )
784 :element ok_button
785 (
786         :type                   :button
787         :button-type            :push-button
788         :x                      36
789         :y                      1
790         :label-type             :string
791         :label-alignment        :center
792         :label                  "OK"
793         :active                 :true
794         :visible                :true
795         :north-attachment       (:point 0 5)
796         :east-attachment        (:grid-line 19 0)
797         :west-attachment        (:grid-line 2 0)
798 )
799 :element apply_button
800 (
801         :type                   :button
802         :button-type            :push-button
803         :x                      36
804         :y                      1
805         :label-type             :string
806         :label-alignment        :center
807         :label                  "Apply"
808         :active                 :true
809         :visible                :true
810         :north-attachment       (:point 0 5)
811         :east-attachment        (:grid-line 39 0)
812         :west-attachment        (:grid-line 21 0)
813 )
814 :element reset_button
815 (
816         :type                   :button
817         :button-type            :push-button
818         :label-type             :string
819         :label-alignment        :center
820         :label                  "Reset"
821         :active                 :true
822         :visible                :true
823         :north-attachment       (:point 0 5)
824         :east-attachment        (:grid-line 59 0)
825         :west-attachment        (:grid-line 41 0)
826 )
827 :element cancel_button
828 (
829         :type                   :button
830         :button-type            :push-button
831         :x                      36
832         :y                      1
833         :label-type             :string
834         :label-alignment        :center
835         :label                  "Cancel"
836         :active                 :true
837         :visible                :true
838         :north-attachment       (:point 0 5)
839         :east-attachment        (:grid-line 79 0)
840         :west-attachment        (:grid-line 61 0)
841 )
842 :element help_button
843 (
844         :type                   :button
845         :button-type            :push-button
846         :label-type             :string
847         :label-alignment        :center
848         :label                  "Help"
849         :active                 :true
850         :visible                :true
851         :north-attachment       (:point 0 5)
852         :east-attachment        (:grid-line 98 0)
853         :west-attachment        (:grid-line 81 0)
854 )
855 :element bg_mbutton_menu
856 (
857         :type                   :menu
858         :tear-off               :false
859         :children               (
860                 bg_mbutton_menu_None_item
861                 bg_mbutton_menu_Color_Chooser_item
862         )
863 )
864 :element bg_mbutton_menu_None_item
865 (
866         :type                   :item
867         :item-type              :item-for-menu
868         :label-type             :string
869         :label                  "None"
870         :active                 :true
871 )
872 :element bg_mbutton_menu_Color_Chooser_item
873 (
874         :type                   :item
875         :item-type              :item-for-menu
876         :label-type             :string
877         :label                  "Color Chooser..."
878         :active                 :true
879 )
880 :element fg_mbutton_menu
881 (
882         :type                   :menu
883         :tear-off               :false
884         :children               (
885                 fg_mbutton_menu_None_item
886                 fg_mbutton_menu_Color_Chooser_item
887         )
888 )
889 :element fg_mbutton_menu_None_item
890 (
891         :type                   :item
892         :item-type              :item-for-menu
893         :label-type             :string
894         :label                  "None"
895         :active                 :true
896 )
897 :element fg_mbutton_menu_Color_Chooser_item
898 (
899         :type                   :item
900         :item-type              :item-for-menu
901         :label-type             :string
902         :label                  "Color Chooser..."
903         :active                 :true
904 )
905 )