Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
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