can now specify if menu action is to be performed by
authorca
Sat, 26 Oct 2002 17:52:18 +0200
changeset 2645 4418d4fb2740
parent 2644 6f8d25684da9
child 2646 dcee45d1c5ce
can now specify if menu action is to be performed by originating widget (instead of application) dummy in PopUpMenu (for now or forEver)
PopUpMenu.st
--- a/PopUpMenu.st	Sat Oct 26 17:47:40 2002 +0200
+++ b/PopUpMenu.st	Sat Oct 26 17:52:18 2002 +0200
@@ -962,6 +962,10 @@
     "Modified: / 20.5.1998 / 22:39:03 / cg"
 !
 
+startUpFor:originatingWidget
+    ^ self startUp
+!
+
 startUpOrNil
     "start the menu modal - return the selected value,
      or - if no values where specified - return the index.
@@ -1245,10 +1249,6 @@
     menuView model:aModel
 
     "Modified: 5.6.1996 / 17:08:30 / cg"
-!
-
-originator:aWidget
-    "set the originating widget"
 ! !
 
 !PopUpMenu methodsFor:'deactivation'!
@@ -1582,5 +1582,5 @@
 !PopUpMenu class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.90 2002-10-26 15:47:40 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.91 2002-10-26 15:52:18 ca Exp $'
 ! !