Button
Travis Gibson edited this page Sep 20, 2018
·
7 revisions
A button with a label.
new(Str:D :$label)
Creates a new Libui::Button.
text() returns Str
Returns the label.
text(Str:D $label)
or set-text(Str:D $label)
Sets the label.
clicked() returns Supply
Returns a Supply. An event is emitted whenever the button is pressed.