--- a/MenuItem.st Fri Aug 14 17:38:01 1998 +0200
+++ b/MenuItem.st Fri Aug 14 19:19:24 1998 +0200
@@ -36,6 +36,15 @@
!MenuItem class methodsFor:'instance creation'!
+label:aString
+ "create and return a new menuItem, given a label string"
+
+ ^ self new label:aString
+
+ "Modified: / 4.8.1998 / 17:33:13 / cg"
+ "Created: / 14.8.1998 / 19:19:14 / cg"
+!
+
label:labelString value:selectorOrValue
"create and return a new menuItem, given its label and value"
@@ -789,5 +798,5 @@
!MenuItem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview2/MenuItem.st,v 1.25 1998-08-14 15:22:19 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/MenuItem.st,v 1.26 1998-08-14 17:19:24 cg Exp $'
! !