cdesktopenv/cde/programs/dtappbuilder/src/ab/list.bil

1354 lines
24 KiB
Plaintext

// $XConsortium: list.bil /main/3 1995/11/06 17:32:16 rswiston $
//
// @(#)list.bil 1.19 18 Jan 1995
//
// RESTRICTED CONFIDENTIAL INFORMATION:
//
// The information in this document is subject to special
// restrictions in a confidential disclosure agreement between
// HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
// document outside HP, IBM, Sun, USL, SCO, or Univel without
// Sun's specific written approval. This document and all copies
// and derivative works thereof must be returned or destroyed at
// Sun's request.
//
// Copyright 1993 Sun Microsystems, Inc. All rights reserved.
//
:bil-version 1 0
:module list
(
:element prop_dialog
(
:type :dialog
:bg-color "white"
:label "List Property Editor"
:resizable :true
:visible :false
:default-button apply_button
:help-button help_button
:help-volume "AppBuilder"
:help-location "ABPropsEditor"
:help-text "This Property Editor allows List object attributes to be examined or altered.\n"
:children (
objlist_panel
attrs_ctrlpanel
activate_panel
)
)
:element objlist_panel
(
:type :container
:container-type :relative
:x 0
:y 0
:visible :true
:border-frame :none
:north-attachment (:point 0 0)
:east-attachment (:obj prop_dialog -1)
:west-attachment (:point 0 0)
:children (
objlist_label
objlist
)
)
:element objlist_label
(
:type :label
:x 81
:y 2
:label-type :string
:label "List\nObjects:"
:label-alignment :right
:active :true
:visible :true
:north-attachment (:point 0 2)
:east-attachment (:grid-line 32 0)
)
:element objlist
(
:type :list
:x 152
:y 2
:selection-mode :browse
:selection-required :false
:num-rows 4
:active :true
:visible :true
:north-attachment (:point 0 4)
:south-attachment (:point 0 4)
:east-attachment (:point 0 4)
:west-attachment (:grid-line 32 4)
)
:element attrs_ctrlpanel
(
:type :container
:container-type :relative
:x 0
:y 77
:visible :true
:border-frame :shadow-in
:north-attachment (:obj objlist_panel 0)
:south-attachment (:obj prop_dialog 0)
:east-attachment (:obj prop_dialog 0)
:west-attachment (:point 0 0)
:children (
item_attrs_sep1
itemlist_cb
item_attrs_sep2
name_cb
selmode_cb
labeltype_cb
label_cb
istate_cb
bg_cb
menu_cb
fg_cb
hgt_cb
group7
wpolicy_cb
pos_cb
group12
menutitle_cb
group15
group4
)
)
:element item_attrs_sep1
(
:type :separator
:line-style :etched-in
:orientation :horizontal
:x 4
:y 128
:width 425
:height 10
:visible :true
:north-attachment (:obj group12 5)
:east-attachment (:point 0 4)
:west-attachment (:point 0 4)
)
:element itemlist_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 145
:width 3
:height 69
:bg-color "white"
:visible :true
:north-attachment (:point 0 145)
:west-attachment (:point 0 2)
)
:element item_attrs_sep2
(
:type :separator
:line-style :etched-in
:orientation :horizontal
:x 5
:y 270
:width 425
:height 10
:visible :true
:north-attachment (:obj group15 5)
:east-attachment (:point 0 4)
:west-attachment (:point 0 4)
)
:element name_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 4
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 4)
:west-attachment (:point 0 2)
)
:element selmode_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 102
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 102)
:west-attachment (:point 0 2)
)
:element labeltype_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 39
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 39)
:west-attachment (:point 0 2)
)
:element label_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 69
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 69)
:west-attachment (:point 0 2)
)
:element istate_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 369
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 369)
:west-attachment (:point 0 2)
)
:element bg_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 400
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 400)
:west-attachment (:point 0 2)
)
:element menu_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 464
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 464)
:west-attachment (:point 0 2)
)
:element fg_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 430
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 430)
:west-attachment (:point 0 2)
)
:element hgt_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 336
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 336)
:west-attachment (:point 0 2)
)
:element group7
(
:type :container
:container-type :group
:active :true
:x 69
:y 538
:group-type :row
:row-alignment :hcenter
:hoffset 10
:hattach_type :obj
:border-frame :none
:north-attachment (:obj group4 15)
:south-attachment (:point 0 15)
:west-attachment (:point 0 70)
:children (
attach_button
helptxt_button
conn_button
)
)
:element attach_button
(
:type :button
:button-type :push-button
:label-type :string
:label-alignment :center
:label "Attachments..."
:active :false
:visible :true
)
:element helptxt_button
(
:type :button
:button-type :push-button
:label-type :string
:label-alignment :center
:label "Help Text..."
:active :true
:visible :true
)
:element conn_button
(
:type :button
:button-type :push-button
:label-type :string
:label-alignment :center
:label "Connections..."
:active :true
:visible :true
)
:element wpolicy_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 303
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 303)
:west-attachment (:point 0 2)
)
:element pos_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 271
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 271)
:west-attachment (:point 0 2)
)
:element group12
(
:type :container
:container-type :group
:active :true
:x 11
:y 2
:group-type :column
:column-alignment :labels
:voffset 1
:vattach_type :obj
:border-frame :none
:north-attachment (:point 0 4)
:west-attachment (:point 0 11)
:children (
name_field
group2
group8
selmode_rbox
)
)
:element name_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "Object Name:"
:label-position :west
:num-columns 30
:max-length 80
:read-only :false
:active :true
:visible :true
)
:element group2
(
:type :container
:container-type :group
:active :true
:group-type :row
:row-alignment :hcenter
:hoffset 0
:hattach_type :obj
:border-frame :none
:children (
labeltype_rbox
labelpos_rbox
)
)
:element labeltype_rbox
(
:type :choice
:choice-type :option-menu
:label-type :string
:label "Label Type:"
:label-position :west
:num-columns 1
:orientation :horizontal
:selection-required :false
:active :true
:visible :true
:children (
labeltype_rbox_String_item
labeltype_rbox_Graphic_item
)
)
:element labeltype_rbox_String_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "String"
:active :true
:selected :true
)
:element labeltype_rbox_Graphic_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Graphic"
:active :true
:selected :false
)
:element labelpos_rbox
(
:type :choice
:choice-type :option-menu
:label-type :string
:label "Position:"
:label-position :west
:num-columns 1
:orientation :horizontal
:selection-required :false
:active :true
:visible :true
:children (
labelpos_rbox_Left_item
labelpos_rbox_Above_item
)
)
:element labelpos_rbox_Left_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Left"
:active :true
:selected :true
)
:element labelpos_rbox_Above_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Above"
:active :true
:selected :false
)
:element group8
(
:type :container
:container-type :group
:active :true
:group-type :row
:row-alignment :hcenter
:hoffset 4
:hattach_type :obj
:border-frame :none
:children (
label_field
graphic_hint
)
)
:element label_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "Graphic Filename:"
:label-position :west
:num-columns 24
:max-length 80
:read-only :false
:active :true
:visible :true
)
:element graphic_hint
(
:type :label
:label-type :string
:label ".pm/.bm"
:label-alignment :center
:active :true
:visible :true
)
:element selmode_rbox
(
:type :choice
:choice-type :option-menu
:label-type :string
:label "Selection Mode:"
:label-position :west
:num-columns 1
:orientation :horizontal
:selection-required :false
:active :true
:visible :true
:children (
selmode_rbox_Single_Select_item
selmode_rbox_Browse_Select_item
selmode_rbox_Multiple_Select_item
selmode_rbox_Browse_Multiple_Select_item
)
)
:element selmode_rbox_Single_Select_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Single Select"
:active :true
:selected :true
)
:element selmode_rbox_Browse_Select_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Browse Select"
:active :true
:selected :false
)
:element selmode_rbox_Multiple_Select_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Multiple Select"
:active :true
:selected :false
)
:element selmode_rbox_Browse_Multiple_Select_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Browse Multiple Select"
:active :true
:selected :false
)
:element menutitle_cb
(
:type :separator
:line-style :none
:orientation :vertical
:x 2
:y 497
:width 3
:height 24
:bg-color "white"
:visible :true
:north-attachment (:point 0 497)
:west-attachment (:point 0 2)
)
:element group15
(
:type :container
:container-type :group
:active :true
:x 59
:y 146
:group-type :ignore
:border-frame :none
:north-attachment (:obj item_attrs_sep1 4)
:east-attachment (:point 0 4)
:west-attachment (:point 0 59)
:children (
itemlist
itemlist_label
group
itemlabel_field
itemstate_ckbox
itemlabel_label
)
)
:element itemlist
(
:type :list
:x 89
:y 0
:selection-mode :browse
:selection-required :false
:num-rows 4
:active :true
:visible :true
:north-attachment (:point 0 0)
:east-attachment (:obj group 10)
:west-attachment (:grid-line 22 4)
)
:element itemlist_label
(
:type :label
:x 35
:y 2
:label-type :string
:label "Items:"
:label-alignment :center
:active :true
:visible :true
:north-attachment (:point 0 0)
:east-attachment (:grid-line 22 0)
)
:element group
(
:type :container
:container-type :group
:active :true
:x 299
:y 0
:group-type :column
:column-alignment :vcenter
:voffset 8
:vattach_type :obj
:border-frame :none
:north-attachment (:point 0 0)
:east-attachment (:point 0 0)
:children (
item_add_button
item_edit_mbutton
)
)
:element item_add_button
(
:type :button
:button-type :push-button
:label-type :string
:label-alignment :center
:label "Add Item"
:active :true
:visible :true
)
:element item_edit_mbutton
(
:type :button
:button-type :menu-button
:label-type :string
:label-alignment :center
:label "Edit"
:menu editmenu
:active :true
:visible :true
)
:element itemlabel_field
(
:type :text-field
:text-type :alphanumeric
:x 89
:y 74
:num-columns 24
:max-length 80
:read-only :false
:active :true
:visible :true
:north-attachment (:obj itemlist 2)
:west-attachment (:grid-line 22 4)
)
:element itemstate_ckbox
(
:type :choice
:choice-type :nonexclusive
:x 272
:y 69
:num-columns 1
:orientation :horizontal
:selection-required :false
:active :true
:visible :true
:north-attachment (:obj-edge itemlabel_field 0)
:west-attachment (:obj itemlabel_field 4)
:children (
itemstate_ckbox_Selected_item
)
)
:element itemstate_ckbox_Selected_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Selected"
:active :true
:selected :false
)
:element itemlabel_label
(
:type :label
:x 0
:y 75
:label-type :string
:label "Item Label:"
:label-alignment :center
:active :true
:visible :true
:north-attachment (:obj-edge itemlabel_field 0)
:south-attachment (:obj-edge itemlabel_field 0)
:east-attachment (:grid-line 22 0)
)
:element group4
(
:type :container
:container-type :group
:active :true
:x 49
:y 269
:group-type :column
:column-alignment :labels
:voffset 3
:vattach_type :obj
:border-frame :none
:north-attachment (:obj item_attrs_sep2 4)
:west-attachment (:point 0 49)
:children (
group6
group10
group9
istate_ckbox
group3
group5
menutitle_field
)
)
:element group6
(
:type :container
:container-type :group
:active :true
:group-type :row
:row-alignment :hcenter
:hoffset 4
:hattach_type :obj
:border-frame :none
:children (
pos_label
x_field
y_field
)
)
:element pos_label
(
:type :label
:label-type :string
:label "Position:"
:label-alignment :center
:active :true
:visible :true
)
:element x_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "X:"
:label-position :west
:num-columns 3
:max-length 3
:read-only :false
:active :true
:visible :true
)
:element y_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "Y:"
:label-position :west
:num-columns 3
:max-length 3
:read-only :false
:active :true
:visible :true
)
:element group10
(
:type :container
:container-type :group
:active :true
:group-type :row
:row-alignment :hcenter
:hoffset 4
:hattach_type :obj
:border-frame :none
:children (
wpolicy_rbox
width_field
)
)
:element wpolicy_rbox
(
:type :choice
:choice-type :exclusive
:label-type :string
:label "Width:"
:label-position :west
:num-columns 1
:orientation :horizontal
:selection-required :false
:active :true
:visible :true
:children (
wpolicy_rbox_Longest_Item_item
wpolicy_rbox_Fixed_item
)
)
:element wpolicy_rbox_Longest_Item_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Longest Item"
:active :true
:selected :true
)
:element wpolicy_rbox_Fixed_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Fixed"
:active :true
:selected :false
)
:element width_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "W:"
:label-position :west
:num-columns 4
:max-length 3
:read-only :false
:active :true
:visible :true
)
:element group9
(
:type :container
:container-type :group
:active :true
:group-type :row
:row-alignment :hcenter
:hoffset 4
:hattach_type :obj
:border-frame :none
:children (
hgt_opmenu
height_field
)
)
:element hgt_opmenu
(
:type :choice
:choice-type :option-menu
:label-type :string
:label "Height:"
:label-position :west
:num-columns 1
:orientation :vertical
:selection-required :false
:active :true
:visible :true
:children (
hgt_opmenu_Lines_item
hgt_opmenu_Pixels_item
)
)
:element hgt_opmenu_Lines_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Lines"
:active :true
:selected :true
)
:element hgt_opmenu_Pixels_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Pixels"
:active :true
:selected :false
)
:element height_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "H:"
:label-position :west
:num-columns 4
:max-length 3
:read-only :false
:active :true
:visible :true
)
:element istate_ckbox
(
:type :choice
:choice-type :nonexclusive
:label-type :string
:label "Initial State:"
:label-position :west
:num-columns 1
:orientation :horizontal
:selection-required :false
:active :true
:visible :true
:children (
istate_ckbox_Visible_item
istate_ckbox_Active_item
)
)
:element istate_ckbox_Visible_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Visible"
:active :true
:selected :true
)
:element istate_ckbox_Active_item
(
:type :item
:item-type :item-for-choice
:label-type :string
:label "Active"
:active :true
:selected :true
)
:element group3
(
:type :container
:container-type :group
:active :true
:group-type :ignore
:border-frame :none
:children (
color_label
bg_mbutton
bg_swatch
bg_field
fg_mbutton
fg_swatch
fg_field
)
)
:element color_label
(
:type :label
:x 0
:y 0
:label-type :string
:label "Color:"
:label-alignment :center
:active :true
:visible :true
:north-attachment (:point 0 1)
:west-attachment (:point 0 0)
)
:element bg_mbutton
(
:type :button
:button-type :menu-button
:x 53
:y 0
:label-type :string
:label-alignment :center
:label "Background"
:menu bg_mbutton_menu
:active :true
:visible :true
:north-attachment (:point 0 1)
:west-attachment (:obj color_label 4)
)
:element bg_swatch
(
:type :label
:x 177
:y 3
:bg-color "black"
:label-type :string
:label " "
:label-alignment :center
:active :true
:visible :true
:north-attachment (:obj-edge bg_mbutton 3)
:south-attachment (:obj-edge bg_mbutton 3)
:west-attachment (:obj bg_mbutton 4)
)
:element bg_field
(
:type :text-field
:text-type :alphanumeric
:x 195
:y 0
:num-columns 12
:max-length 36
:read-only :false
:active :true
:visible :true
:north-attachment (:point 0 0)
:east-attachment (:point 0 0)
:west-attachment (:obj bg_swatch 4)
)
:element fg_mbutton
(
:type :button
:button-type :menu-button
:x 53
:y 29
:label-type :string
:label-alignment :center
:label "Foreground"
:menu fg_mbutton_menu
:active :true
:visible :true
:north-attachment (:obj bg_mbutton 5)
:west-attachment (:obj color_label 4)
)
:element fg_swatch
(
:type :label
:x 175
:y 32
:bg-color "white"
:label-type :string
:label " "
:label-alignment :center
:active :true
:visible :true
:north-attachment (:obj-edge fg_mbutton 3)
:south-attachment (:obj-edge fg_mbutton 3)
:west-attachment (:obj fg_mbutton 5)
)
:element fg_field
(
:type :text-field
:text-type :alphanumeric
:x 193
:y 29
:num-columns 12
:max-length 36
:read-only :false
:active :true
:visible :true
:north-attachment (:obj bg_mbutton 4)
:east-attachment (:point 0 0)
:west-attachment (:obj fg_swatch 5)
)
:element group5
(
:type :container
:container-type :group
:active :true
:group-type :row
:row-alignment :hcenter
:hoffset 4
:hattach_type :obj
:border-frame :none
:children (
menu_label
menu_mbutton
menu_field
)
)
:element menu_label
(
:type :label
:label-type :string
:label "Popup Menu:"
:label-alignment :center
:active :true
:visible :true
)
:element menu_mbutton
(
:type :button
:button-type :menu-button
:label-type :string
:label-alignment :center
:label "Menus"
:active :true
:visible :true
)
:element menu_field
(
:type :text-field
:text-type :alphanumeric
:num-columns 18
:max-length 80
:read-only :false
:active :true
:visible :true
)
:element menutitle_field
(
:type :text-field
:text-type :alphanumeric
:label-type :string
:label "Menu Title:"
:label-position :west
:num-columns 24
:max-length 80
:read-only :false
:active :true
:visible :true
)
:element activate_panel
(
:type :container
:container-type :button-panel
:height 36
:visible :true
:border-frame :none
:children (
ok_button
apply_button
reset_button
cancel_button
help_button
)
)
:element ok_button
(
:type :button
:button-type :push-button
:x 36
:y 1
:label-type :string
:label-alignment :center
:label "OK"
:active :true
:visible :true
:north-attachment (:point 0 5)
:east-attachment (:grid-line 19 0)
:west-attachment (:grid-line 2 0)
)
:element apply_button
(
:type :button
:button-type :push-button
:x 36
:y 1
:label-type :string
:label-alignment :center
:label "Apply"
:active :true
:visible :true
:north-attachment (:point 0 5)
:east-attachment (:grid-line 39 0)
:west-attachment (:grid-line 21 0)
)
:element reset_button
(
:type :button
:button-type :push-button
:label-type :string
:label-alignment :center
:label "Reset"
:active :true
:visible :true
:north-attachment (:point 0 5)
:east-attachment (:grid-line 59 0)
:west-attachment (:grid-line 41 0)
)
:element cancel_button
(
:type :button
:button-type :push-button
:x 36
:y 1
:label-type :string
:label-alignment :center
:label "Cancel"
:active :true
:visible :true
:north-attachment (:point 0 5)
:east-attachment (:grid-line 79 0)
:west-attachment (:grid-line 61 0)
)
:element help_button
(
:type :button
:button-type :push-button
:label-type :string
:label-alignment :center
:label "Help"
:active :true
:visible :true
:north-attachment (:point 0 5)
:east-attachment (:grid-line 98 0)
:west-attachment (:grid-line 81 0)
)
:element editmenu
(
:type :menu
:tear-off :false
:children (
editmenu_Add_After_item
editmenu_Add_Before_item
editmenu_Change_item
editmenu_Cut_item
editmenu_Copy_item
editmenu_Paste_item
editmenu_Delete_item
)
)
:element editmenu_Add_After_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Add After"
:active :true
)
:element editmenu_Add_Before_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Add Before"
:active :true
)
:element editmenu_Change_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Change"
:active :true
)
:element editmenu_Cut_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Cut"
:active :true
)
:element editmenu_Copy_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Copy"
:active :true
)
:element editmenu_Paste_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Paste"
:active :true
)
:element editmenu_Delete_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Delete"
:active :true
)
:element bg_mbutton_menu
(
:type :menu
:tear-off :false
:children (
bg_mbutton_menu_None_item
bg_mbutton_menu_Color_Chooser_item
)
)
:element bg_mbutton_menu_None_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "None"
:active :true
)
:element bg_mbutton_menu_Color_Chooser_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Color Chooser..."
:active :true
)
:element fg_mbutton_menu
(
:type :menu
:tear-off :false
:children (
fg_mbutton_menu_None_item
fg_mbutton_menu_Color_Chooser_item
)
)
:element fg_mbutton_menu_None_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "None"
:active :true
)
:element fg_mbutton_menu_Color_Chooser_item
(
:type :item
:item-type :item-for-menu
:label-type :string
:label "Color Chooser..."
:active :true
)
)