PopUpMenu.st
changeset 137 ef680b11c355
parent 133 e58c7c979f33
child 161 a33764a0af35
--- a/PopUpMenu.st	Tue Aug 08 03:07:33 1995 +0200
+++ b/PopUpMenu.st	Tue Aug 08 03:22:44 1995 +0200
@@ -23,7 +23,7 @@
 COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.23 1995-07-23 03:02:14 claus Exp $
+$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.24 1995-08-08 01:22:17 claus Exp $
 '!
 
 !PopUpMenu class methodsFor:'documentation'!
@@ -44,7 +44,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.23 1995-07-23 03:02:14 claus Exp $
+$Header: /cvs/stx/stx/libwidg/PopUpMenu.st,v 1.24 1995-08-08 01:22:17 claus Exp $
 "
 !
 
@@ -568,6 +568,14 @@
      the view (used with multiple-menus)"
 
     hideOnLeave := aBoolean
+!
+
+hideOnRelease:aBoolean
+    "set/clear the hideOnRelease attribute, which controls
+     if the menu should be hidden when the button is released"
+
+    hideOnRelease := aBoolean.
+    menuView hideOnRelease:aBoolean 
 ! !
 
 !PopUpMenu methodsFor:'accessing-look'!