add menuBar as drag&drop object
authorca
Thu, 22 May 1997 13:41:44 +0200
changeset 116 61628bedc85a
parent 115 e4200c506aad
child 117 45af2b7a5eca
add menuBar as drag&drop object
UISelectionPanel.st
--- a/UISelectionPanel.st	Thu May 22 13:40:30 1997 +0200
+++ b/UISelectionPanel.st	Thu May 22 13:41:44 1997 +0200
@@ -219,6 +219,90 @@
 
 !
 
+menuComboSpec
+    "this window spec was automatically generated by the ST/X UIPainter"
+
+    "do not manually edit this - the painter/builder may not be able to
+     handle the specification if its corrupted."
+
+    "
+     UIPainter new openOnClass:UISelectionPanel andSelector:#menuComboSpec
+     UISelectionPanel new openInterface:#menuComboSpec
+    "
+
+    <resource: #canvas>
+
+    ^
+     
+       #(#FullSpec
+          #'window:' 
+           #(#WindowSpec
+              #'name:' 'uIPainterView'
+              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
+              #'label:' 'unnamed'
+              #'bounds:' #(#Rectangle 0 0 464 253)
+          )
+          #'component:' 
+           #(#SpecCollection
+              #'collection:' 
+               #(
+                 #(#ComboBoxSpec
+                    #'name:' 'ComboBox'
+                    #'layout:' #(#LayoutFrame 20 0 20 0 123 0 40 0)
+                    #'immediateAccept:' false
+                    #'acceptOnLeave:' true
+                    #'acceptOnReturn:' true
+                    #'acceptOnTab:' true
+                    #'acceptOnLostFocus:' true
+                    #'hasBorder:' false
+                )
+                 #(#ComboListSpec
+                    #'name:' 'ComboList'
+                    #'layout:' #(#LayoutFrame 20 0 51 0 123 0 71 0)
+                    #'tabable:' false
+                )
+                 #(#PopUpListSpec
+                    #'name:' 'PopUpList'
+                    #'layout:' #(#LayoutFrame 145 0 20 0 248 0 42 0)
+                    #'label:' 'PopUpList'
+                )
+                 #(#MenuPanelSpec
+                    #'name:' 'MenuPanel'
+                    #'layout:' #(#LayoutFrame 147 0 67 0 250 0 89 0)
+                )
+                 #(#TabViewSpec
+                    #'name:' 'TabView'
+                    #'layout:' #(#LayoutFrame 269 0 20 0 409 0 56 0)
+                    #'tabWidget:' #Window
+                    #'direction:' #top
+                    #'useIndex:' false
+                    #'fitLastRow:' true
+                    #'moveSelectedRow:' true
+                )
+                 #(#NoteBookViewSpec
+                    #'name:' 'noteBookView'
+                    #'layout:' #(#LayoutFrame 269 0 66 0 409 0 182 0)
+                    #'tabWidget:' #Window
+                    #'direction:' #top
+                    #'useIndex:' false
+                    #'fitLastRow:' true
+                    #'moveSelectedRow:' true
+                    #'level:' 2
+                )
+                 #(#LabelSpec
+                    #'name:' 'label1'
+                    #'layout:' #(#LayoutFrame 147 0 51 0 250 0 67 0)
+                    #'label:' 'MenuPanel'
+                    #'level:' 0
+                    #'adjust:' #center
+                    #'hasCharacterOrientedLabel:' true
+                    #'canUIDrag:' false
+                )
+              )
+          )
+      )
+!
+
 panelSpec
     "this window spec was automatically generated by the ST/X UIPainter"
 
@@ -684,81 +768,6 @@
 
 !UISelectionPanel class methodsFor:'interface specs'!
 
-menuComboSpec
-    "this window spec was automatically generated by the ST/X UIPainter"
-
-    "do not manually edit this - the painter/builder may not be able to
-     handle the specification if its corrupted."
-
-    "
-     UIPainter new openOnClass:UISelectionPanel andSelector:#menuComboSpec
-     UISelectionPanel new openInterface:#menuComboSpec
-    "
-
-    <resource: #canvas>
-
-    ^
-     
-       #(#FullSpec
-          #'window:' 
-           #(#WindowSpec
-              #'name:' 'uIPainterView'
-              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
-              #'label:' 'unnamed'
-              #'bounds:' #(#Rectangle 0 0 464 253)
-          )
-          #'component:' 
-           #(#SpecCollection
-              #'collection:' 
-               #(
-                 #(#ComboBoxSpec
-                    #'name:' 'ComboBox'
-                    #'layout:' #(#LayoutFrame 20 0 20 0 123 0 40 0)
-                    #'immediateAccept:' false
-                    #'acceptOnLeave:' true
-                    #'acceptOnReturn:' true
-                    #'acceptOnTab:' true
-                    #'acceptOnLostFocus:' true
-                    #'hasBorder:' false
-                )
-                 #(#ComboListSpec
-                    #'name:' 'ComboList'
-                    #'layout:' #(#LayoutFrame 20 0 51 0 123 0 71 0)
-                    #'tabable:' false
-                )
-                 #(#PopUpListSpec
-                    #'name:' 'PopUpList'
-                    #'layout:' #(#LayoutFrame 145 0 20 0 248 0 42 0)
-                    #'label:' 'PopUpList'
-                )
-                 #(#MenuPanelSpec
-                    #'name:' 'MenuPanel'
-                    #'layout:' #(#LayoutFrame 145 0 51 0 248 0 73 0)
-                )
-                 #(#TabViewSpec
-                    #'name:' 'TabView'
-                    #'layout:' #(#LayoutFrame 269 0 20 0 409 0 56 0)
-                    #'tabWidget:' #Window
-                    #'direction:' #top
-                    #'useIndex:' false
-                    #'fitLastRow:' true
-                    #'moveSelectedRow:' true
-                )
-                 #(#NoteBookViewSpec
-                    #'name:' 'noteBookView'
-                    #'layout:' #(#LayoutFrame 269 0 66 0 409 0 182 0)
-                    #'tabWidget:' #Window
-                    #'direction:' #top
-                    #'useIndex:' false
-                    #'fitLastRow:' true
-                    #'moveSelectedRow:' true
-                    #'level:' 2
-                )
-              )
-          )
-      )
-!
-
 windowSpec
     "this window spec was automatically generated by the ST/X UIPainter"