class webfwt::MiniButton
sys::Obj fwt::Widget fwt::Pane webfwt::MiniButton
@Js
MiniButton.
- command
-
Command? command
Command associated with this button. Setting the command automatically maps the text, enable state, and eventing to the command.
- make
-
new make(|This|? f := null)
Constructor
- onAction
-
@Transient
EventListeners onAction := EventListeners.<ctor>() { private set }Callback function when button is pressed or selection is changed.
Event id fired:
Event fields:
- none
- onLayout
-
virtual override Void onLayout()
- prefSize
- text
-
Str text
Text for button. Defaults to "".