links to this page:
SimpleButtonMorph
SameGame
ListOfClassesInSqueak5dot1
SimpleSwitchMorph
Last updated at 11:29 am UTC on 12 September 2016
Represents a switch that can be either on or off. The state changes in response to a mouse click.
When clicked, #actionSelector is sent to the target, just like in
SimpleButtonMorph
.
Example of usage
In the
SameGame
example it is used for the Help button to show or hide a
PluggableTextMorph
instance.
The class SameGameTile is a subclass of SimpleSwitchMorph.