# HG changeset patch # User Claus Gittinger # Date 903115164 -7200 # Node ID 5ecf46d0f1b75a2dc4f59da0a905db333dc853ec # Parent 32cd5ccbd94ff1ab239b6eb8485a7048bbb8ddfb checkin from browser diff -r 32cd5ccbd94f -r 5ecf46d0f1b7 MenuItem.st --- 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 $' ! !