UISelectionPanel.st
changeset 1168 d297bc428326
parent 1160 9e6aff354459
child 1169 dc563b916897
equal deleted inserted replaced
1167:cc867734c712 1168:d297bc428326
    87                             #('Buttons' standardButtons)
    87                             #('Buttons' standardButtons)
    88                             #('Menus'   standardMenus)
    88                             #('Menus'   standardMenus)
    89                             #('Text'    standardTexts)
    89                             #('Text'    standardTexts)
    90                             #('Lists'   standardLists)
    90                             #('Lists'   standardLists)
    91                             #('Groups'  standardGroups)
    91                             #('Groups'  standardGroups)
       
    92                             #('Embed'   standardEmbed)
    92                             #('Misc'    standardMisc)
    93                             #('Misc'    standardMisc)
    93                          )
    94                          )
    94          )
    95          )
    95 
    96 
    96         #( 'Clipboard'  #(
    97         #( 'Clipboard'  #(
   482          
   483          
   483         )
   484         )
   484       )
   485       )
   485 !
   486 !
   486 
   487 
       
   488 standardEmbed
       
   489     "This resource specification was automatically generated
       
   490      by the UIPainter of ST/X."
       
   491 
       
   492     "Do not manually edit this!! If it is corrupted,
       
   493      the UIPainter may not be able to read the specification."
       
   494 
       
   495     "
       
   496      UIPainter new openOnClass:UISelectionPanel andSelector:#standardEmbed
       
   497      UISelectionPanel new openInterface:#standardEmbed
       
   498     "
       
   499 
       
   500     <resource: #canvas>
       
   501 
       
   502     ^ 
       
   503      #(#FullSpec
       
   504         #name: #standardEmbed
       
   505         #window: 
       
   506        #(#WindowSpec
       
   507           #label: 'Misc'
       
   508           #name: 'Misc'
       
   509           #layout: #(#LayoutFrame 125 0 152 0 566 0 374 0)
       
   510           #level: 0
       
   511           #min: #(#Point 10 10)
       
   512           #max: #(#Point 1280 1024)
       
   513           #bounds: #(#Rectangle 125 152 567 375)
       
   514           #usePreferredExtent: false
       
   515           #returnIsOKInDialog: true
       
   516           #escapeIsCancelInDialog: true
       
   517         )
       
   518         #component: 
       
   519        #(#SpecCollection
       
   520           #collection: #(
       
   521            #(#ArbitraryComponentSpec
       
   522               #name: 'Arbitrary Component'
       
   523               #layout: #(#LayoutFrame 3 0 3 0 128 0 104 0)
       
   524               #hasBorder: false
       
   525             )
       
   526            #(#LabelSpec
       
   527               #label: 'Arbitrary'
       
   528               #name: 'ArbitraryComponentLabel1'
       
   529               #layout: #(#AlignmentOrigin 7 0 7 0 0 0)
       
   530               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   531               #resizeForLabel: true
       
   532               #adjust: #left
       
   533               #canUIDrag: false
       
   534             )
       
   535            #(#LabelSpec
       
   536               #label: 'Component'
       
   537               #name: 'ArbitraryComponentLabel2'
       
   538               #layout: #(#AlignmentOrigin 7 0 31 0 0 0)
       
   539               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   540               #resizeForLabel: true
       
   541               #adjust: #left
       
   542               #canUIDrag: false
       
   543             )
       
   544            #(#UISubSpecification
       
   545               #name: 'SubSpecification'
       
   546               #layout: #(#LayoutFrame 145 0 3 0 280 0 104 0)
       
   547             )
       
   548            #(#LabelSpec
       
   549               #label: 'SubSpecification'
       
   550               #name: 'SubSpecificationLabel'
       
   551               #layout: #(#Point 149 7)
       
   552               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   553               #resizeForLabel: true
       
   554               #canUIDrag: false
       
   555             )
       
   556            #(#SubCanvasSpec
       
   557               #name: 'SubCanvas'
       
   558               #layout: #(#LayoutFrame 297 0 3 0 433 0 104 0)
       
   559               #hasHorizontalScrollBar: true
       
   560               #hasVerticalScrollBar: true
       
   561             )
       
   562            #(#LabelSpec
       
   563               #label: 'SubCanvas'
       
   564               #name: 'SubCanvasLabel'
       
   565               #layout: #(#AlignmentOrigin 324 0 7 0 0 0)
       
   566               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   567               #resizeForLabel: true
       
   568               #adjust: #left
       
   569               #canUIDrag: false
       
   570             )
       
   571            )
       
   572          
       
   573         )
       
   574       )
       
   575 !
       
   576 
   487 standardGraphs
   577 standardGraphs
   488     "This resource specification was automatically generated
   578     "This resource specification was automatically generated
   489      by the UIPainter of ST/X."
   579      by the UIPainter of ST/X."
   490 
   580 
   491     "Do not manually edit this!! If it is corrupted,
   581     "Do not manually edit this!! If it is corrupted,
   892         #name: #standardMenus
   982         #name: #standardMenus
   893         #window: 
   983         #window: 
   894        #(#WindowSpec
   984        #(#WindowSpec
   895           #label: 'Menus'
   985           #label: 'Menus'
   896           #name: 'Menus'
   986           #name: 'Menus'
   897           #layout: #(#LayoutFrame 20 0 182 0 496 0 404 0)
   987           #layout: #(#LayoutFrame 162 0 182 0 638 0 404 0)
   898           #level: 0
       
   899           #min: #(#Point 10 10)
   988           #min: #(#Point 10 10)
   900           #max: #(#Point 1280 1024)
   989           #max: #(#Point 1280 1024)
   901           #bounds: #(#Rectangle 20 182 497 405)
   990           #bounds: #(#Rectangle 162 182 639 405)
   902           #usePreferredExtent: false
       
   903           #returnIsOKInDialog: true
       
   904           #escapeIsCancelInDialog: true
       
   905         )
   991         )
   906         #component: 
   992         #component: 
   907        #(#SpecCollection
   993        #(#SpecCollection
   908           #collection: #(
   994           #collection: #(
   909            #(#MenuPanelSpec
   995            #(#MenuPanelSpec
   920               #adjust: #left
  1006               #adjust: #left
   921               #canUIDrag: false
  1007               #canUIDrag: false
   922             )
  1008             )
   923            #(#MenuPanelSpec
  1009            #(#MenuPanelSpec
   924               #name: 'Menu Bar'
  1010               #name: 'Menu Bar'
   925               #layout: #(#LayoutFrame 4 0 184 0 129 0 206 0)
  1011               #layout: #(#LayoutFrame 4 0 188 0 129 0 210 0)
   926             )
  1012             )
   927            #(#LabelSpec
  1013            #(#LabelSpec
   928               #label: 'Menu Bar'
  1014               #label: 'Menu Bar'
   929               #name: 'MenuBarLabel'
  1015               #name: 'MenuBarLabel'
   930               #layout: #(#AlignmentOrigin 4 0 183 0 0 1)
  1016               #layout: #(#AlignmentOrigin 4 0 187 0 0 1)
   931               #style: #(#FontDescription #helvetica #medium #roman 10)
  1017               #style: #(#FontDescription #helvetica #medium #roman 10)
   932               #resizeForLabel: true
  1018               #resizeForLabel: true
   933               #adjust: #left
  1019               #adjust: #left
   934               #canUIDrag: false
  1020               #canUIDrag: false
   935             )
  1021             )
   945               #useIndex: false
  1031               #useIndex: false
   946             )
  1032             )
   947            #(#ComboBoxSpec
  1033            #(#ComboBoxSpec
   948               #name: 'Combo Box'
  1034               #name: 'Combo Box'
   949               #layout: #(#LayoutFrame 4 0 61 0 129 0 81 0)
  1035               #layout: #(#LayoutFrame 4 0 61 0 129 0 81 0)
       
  1036               #acceptOnPointerLeave: false
   950             )
  1037             )
   951            #(#ExtendedComboBoxSpec
  1038            #(#ExtendedComboBoxSpec
   952               #name: 'Extended Combo Box'
  1039               #name: 'Extended Combo Box'
   953               #layout: #(#LayoutFrame 4 0 88 0 129 0 108 0)
  1040               #layout: #(#LayoutFrame 4 0 88 0 129 0 108 0)
   954               #miniScrollerHorizontal: true
  1041               #miniScrollerHorizontal: true
   990         #name: #standardMisc
  1077         #name: #standardMisc
   991         #window: 
  1078         #window: 
   992        #(#WindowSpec
  1079        #(#WindowSpec
   993           #label: 'Misc'
  1080           #label: 'Misc'
   994           #name: 'Misc'
  1081           #name: 'Misc'
   995           #layout: #(#LayoutFrame 220 0 200 0 661 0 422 0)
  1082           #layout: #(#LayoutFrame 53 0 156 0 494 0 378 0)
   996           #level: 0
       
   997           #min: #(#Point 10 10)
  1083           #min: #(#Point 10 10)
   998           #max: #(#Point 1280 1024)
  1084           #max: #(#Point 1280 1024)
   999           #bounds: #(#Rectangle 220 200 662 423)
  1085           #bounds: #(#Rectangle 53 156 495 379)
  1000           #usePreferredExtent: false
       
  1001           #returnIsOKInDialog: true
       
  1002           #escapeIsCancelInDialog: true
       
  1003         )
  1086         )
  1004         #component: 
  1087         #component: 
  1005        #(#SpecCollection
  1088        #(#SpecCollection
  1006           #collection: #(
  1089           #collection: #(
  1007            #(#ArbitraryComponentSpec
  1090            #(#LabelSpec
  1008               #name: 'Arbitrary Component'
  1091               #label: 'StepSlider'
  1009               #layout: #(#LayoutFrame 3 0 3 0 128 0 81 0)
  1092               #name: 'StepSliderLabel'
  1010               #hasBorder: false
  1093               #layout: #(#AlignmentOrigin 87 0 9 0 1 0)
  1011             )
       
  1012            #(#LabelSpec
       
  1013               #label: 'Arbitrary'
       
  1014               #name: 'ArbitraryComponentLabel1'
       
  1015               #layout: #(#AlignmentOrigin 7 0 7 0 0 0)
       
  1016               #style: #(#FontDescription #helvetica #medium #roman 10)
  1094               #style: #(#FontDescription #helvetica #medium #roman 10)
  1017               #resizeForLabel: true
  1095               #resizeForLabel: true
  1018               #adjust: #left
  1096               #canUIDrag: false
  1019               #canUIDrag: false
  1097             )
  1020             )
  1098            #(#SteppingSliderSpec
  1021            #(#LabelSpec
  1099               #name: 'StepSlider'
  1022               #label: 'Component'
  1100               #layout: #(#LayoutFrame 88 0 7 0 203 0 25 0)
  1023               #name: 'ArbitraryComponentLabel2'
  1101               #orientation: #horizontal
  1024               #layout: #(#AlignmentOrigin 7 0 31 0 0 0)
  1102               #step: 1
       
  1103             )
       
  1104            #(#LabelSpec
       
  1105               #label: 'Slider'
       
  1106               #name: 'SliderLabel'
       
  1107               #layout: #(#AlignmentOrigin 87 0 35 0 1 0)
  1025               #style: #(#FontDescription #helvetica #medium #roman 10)
  1108               #style: #(#FontDescription #helvetica #medium #roman 10)
  1026               #resizeForLabel: true
  1109               #resizeForLabel: true
  1027               #adjust: #left
  1110               #canUIDrag: false
  1028               #canUIDrag: false
  1111             )
  1029             )
  1112            #(#SliderSpec
  1030            #(#UISubSpecification
  1113               #name: 'Slider'
  1031               #name: 'SubSpecification'
  1114               #layout: #(#LayoutFrame 88 0 34 0 203 0 52 0)
  1032               #layout: #(#LayoutFrame 145 0 3 0 280 0 81 0)
  1115               #orientation: #horizontal
  1033             )
  1116               #step: 1
  1034            #(#LabelSpec
  1117             )
  1035               #label: 'SubSpecification'
  1118            #(#LabelSpec
  1036               #name: 'SubSpecificationLabel'
  1119               #label: 'ThumbWheel'
  1037               #layout: #(#Point 149 7)
  1120               #name: 'ThumbWheelLabel'
       
  1121               #layout: #(#AlignmentOrigin 88 0 62 0 1 0)
  1038               #style: #(#FontDescription #helvetica #medium #roman 10)
  1122               #style: #(#FontDescription #helvetica #medium #roman 10)
  1039               #resizeForLabel: true
  1123               #resizeForLabel: true
  1040               #canUIDrag: false
  1124               #canUIDrag: false
  1041             )
  1125             )
  1042            #(#SubCanvasSpec
  1126            #(#ThumbWheelSpec
  1043               #name: 'SubCanvas'
  1127               #name: 'Thumb Wheel'
  1044               #layout: #(#LayoutFrame 297 0 3 0 433 0 81 0)
  1128               #layout: #(#LayoutFrame 88 0 60 0 203 0 80 0)
  1045               #hasHorizontalScrollBar: true
  1129               #orientation: #horizontal
  1046               #hasVerticalScrollBar: true
  1130               #step: 1
  1047             )
  1131             )
  1048            #(#LabelSpec
  1132            #(#LabelSpec
  1049               #label: 'SubCanvas'
  1133               #label: 'ScrollBar'
  1050               #name: 'SubCanvasLabel'
  1134               #name: 'ScrollBarLabel'
  1051               #layout: #(#AlignmentOrigin 324 0 7 0 0 0)
  1135               #layout: #(#AlignmentOrigin 87 0 103 0 1 0)
       
  1136               #initiallyInvisible: true
  1052               #style: #(#FontDescription #helvetica #medium #roman 10)
  1137               #style: #(#FontDescription #helvetica #medium #roman 10)
  1053               #resizeForLabel: true
  1138               #resizeForLabel: true
  1054               #adjust: #left
  1139               #canUIDrag: false
  1055               #canUIDrag: false
  1140             )
  1056             )
  1141            #(#ScrollBarSpec
  1057            #(#LabelSpec
  1142               #name: 'ScrollBar'
  1058               #label: 'Slider'
  1143               #layout: #(#LayoutFrame 88 0 100 0 203 0 118 0)
  1059               #name: 'SliderLabel'
  1144               #initiallyInvisible: true
  1060               #layout: #(#AlignmentOrigin 83 0 117 0 1 0)
  1145               #orientation: #horizontal
       
  1146               #step: 1
       
  1147             )
       
  1148            #(#LabelSpec
       
  1149               #label: 'Scroller'
       
  1150               #name: 'ScrollerLabel'
       
  1151               #layout: #(#AlignmentOrigin 87 0 130 0 1 0)
       
  1152               #initiallyInvisible: true
  1061               #style: #(#FontDescription #helvetica #medium #roman 10)
  1153               #style: #(#FontDescription #helvetica #medium #roman 10)
  1062               #resizeForLabel: true
  1154               #resizeForLabel: true
  1063               #canUIDrag: false
  1155               #canUIDrag: false
  1064             )
  1156             )
  1065            #(#SliderSpec
  1157            #(#ScrollerSpec
  1066               #name: 'Slider'
  1158               #name: 'Scroller'
  1067               #layout: #(#LayoutFrame 88 0 114 0 203 0 132 0)
  1159               #layout: #(#LayoutFrame 88 0 127 0 203 0 145 0)
       
  1160               #initiallyInvisible: true
  1068               #orientation: #horizontal
  1161               #orientation: #horizontal
  1069               #step: 1
  1162               #step: 1
  1070             )
  1163             )
  1071            #(#LabelSpec
  1164            #(#SteppingSliderSpec
  1072               #label: 'Scroller'
  1165               #name: 'VStepSlider'
  1073               #name: 'ScrollerLabel'
  1166               #layout: #(#LayoutFrame 226 0 6 0 244 0 106 0)
  1074               #layout: #(#AlignmentOrigin 83 0 90 0 1 0)
  1167               #step: 1
  1075               #style: #(#FontDescription #helvetica #medium #roman 10)
  1168             )
  1076               #resizeForLabel: true
  1169            #(#SliderSpec
  1077               #canUIDrag: false
  1170               #name: 'VSlider'
       
  1171               #layout: #(#LayoutFrame 254 0 6 0 272 0 106 0)
       
  1172               #step: 1
       
  1173             )
       
  1174            #(#ThumbWheelSpec
       
  1175               #name: 'VThumbWheel'
       
  1176               #layout: #(#LayoutFrame 280 0 6 0 298 0 106 0)
       
  1177               #step: 1
       
  1178             )
       
  1179            #(#ScrollBarSpec
       
  1180               #name: 'VScrollBar'
       
  1181               #layout: #(#LayoutFrame 317 0 6 0 335 0 106 0)
       
  1182               #initiallyInvisible: true
       
  1183               #step: 1
  1078             )
  1184             )
  1079            #(#ScrollerSpec
  1185            #(#ScrollerSpec
  1080               #name: 'Scroller'
  1186               #name: 'VScroller'
  1081               #layout: #(#LayoutFrame 88 0 87 0 203 0 105 0)
  1187               #layout: #(#LayoutFrame 345 0 6 0 363 0 106 0)
  1082               #orientation: #horizontal
  1188               #initiallyInvisible: true
  1083               #step: 1
       
  1084             )
       
  1085            #(#LabelSpec
       
  1086               #label: 'ThumbWheel'
       
  1087               #name: 'ThumbWheelLabel'
       
  1088               #layout: #(#AlignmentOrigin 83 0 145 0 1 0)
       
  1089               #style: #(#FontDescription #helvetica #medium #roman 10)
       
  1090               #resizeForLabel: true
       
  1091               #canUIDrag: false
       
  1092             )
       
  1093            #(#ThumbWheelSpec
       
  1094               #name: 'Thumb Wheel'
       
  1095               #layout: #(#LayoutFrame 88 0 140 0 203 0 160 0)
       
  1096               #orientation: #horizontal
       
  1097               #step: 1
  1189               #step: 1
  1098             )
  1190             )
  1099            #(#LabelSpec
  1191            #(#LabelSpec
  1100               #label: 'Region'
  1192               #label: 'Region'
  1101               #name: 'RegionLabel'
  1193               #name: 'RegionLabel'