links to this page:
Recipe: How to use an IconicButton in Morphic
Notes on specific classes
Classes by category
Swiki Page List
IconicButton
Last updated at 4:31 pm UTC on 26 February 2003
How to create an IconicButton:
i := IconicButton new
Send the following message to i with the appropriate parameter objects:
initializeToShow: aMorph withLabel: aLabel andSend: aSelector to: aReceiver
The
Form
of the aMorph is used to as the icon of the IconicButton.
Add the button to the
World
:
i openInWorld
See also
Recipe: How to use an IconicButton in Morphic