class webfwt::MiniButton

sys::Obj
  fwt::Widget
    fwt::Pane
      webfwt::MiniButton

@Js

Source

MiniButton.

command

Command? command

Source

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)

Source

Constructor

onAction

@Transient
EventListeners onAction := EventListeners.<ctor>() { private set }

Source

Callback function when button is pressed or selection is changed.

Event id fired:

Event fields:

  • none
onLayout

virtual override Void onLayout()

Source

prefSize

virtual override Size prefSize(Hints hints := Hints.defVal)

Source

text

Str text

Source

Text for button. Defaults to "".