| 1 | [[PageOutline(1-2)]] |
| 2 | = Push Button (UiPushButton) = |
| 3 | |
| 4 | |
| 5 | '''Inherits:''' [../uibutton UiButton] -> !Morph -> !Object -> !ProtoObject |
| 6 | |
| 7 | '''Inherited by:''' [../uisliderbutton UiSliderButton], [../uiscrollbararrowbutton UiScrollBarArrowButton], !SdResizeHandle |
| 8 | == Properties == |
| 9 | * [#propertyballoontext balloonText] : String |
| 10 | * [#propertyballooncolor balloonColor] : Object |
| 11 | * [#propertyenabled enabled] : Boolean |
| 12 | * [#propertyicon icon] : Form |
| 13 | * [#propertytext text] : String |
| 14 | * [#propertycolor color] : Object |
| 15 | * [#propertycheckable checkable] : Boolean |
| 16 | * [#propertychecked checked] : Boolean |
| 17 | * [#propertyautoexclusive autoExclusive] : Boolean |
| 18 | == Signals == |
| 19 | * [#signalpressed pressed] |
| 20 | * [#signalclicked: clicked:] |
| 21 | * [#signalreleased released] |
| 22 | * [#signaltoggled: toggled:] |
| 23 | == Detailed Description == |
| 24 | |
| 25 | == Property Documentation == |
| 26 | === balloonText : String === #propertyballoontext |
| 27 | "Answer balloon help text or nil, if no help is available. |
| 28 | NB: subclasses may override such that they programatically |
| 29 | construct the text, for economy's sake, such as model phrases in |
| 30 | a Viewer" |
| 31 | |
| 32 | By default, this property is '''nil'''. |
| 33 | === balloonColor : Object === #propertyballooncolor |
| 34 | |
| 35 | |
| 36 | By default, this property is '''(TranslucentColor r: 0.91 g: 0.94 b: 1.0 alpha: 0.949)'''. |
| 37 | === enabled : Boolean === #propertyenabled |
| 38 | |
| 39 | |
| 40 | By default, this property is '''true'''. |
| 41 | === icon : Form === #propertyicon |
| 42 | |
| 43 | |
| 44 | By default, this property is '''nil'''. |
| 45 | === text : String === #propertytext |
| 46 | |
| 47 | |
| 48 | By default, this property is '''PushButton'''. |
| 49 | === color : Object === #propertycolor |
| 50 | |
| 51 | |
| 52 | By default, this property is '''(Color r: 0.8 g: 0.8 b: 0.8)'''. |
| 53 | === checkable : Boolean === #propertycheckable |
| 54 | |
| 55 | |
| 56 | By default, this property is '''false'''. |
| 57 | === checked : Boolean === #propertychecked |
| 58 | |
| 59 | |
| 60 | By default, this property is '''false'''. |
| 61 | === autoExclusive : Boolean === #propertyautoexclusive |
| 62 | |
| 63 | |
| 64 | By default, this property is '''false'''. |
| 65 | == Signal Documentation == |
| 66 | === pressed (Signal) === #signalpressed |
| 67 | |
| 68 | === clicked: (Signal) === #signalclicked: |
| 69 | |
| 70 | === released (Signal) === #signalreleased |
| 71 | |
| 72 | === toggled: (Signal) === #signaltoggled: |