class

UIng::Button

Inherits UIng::Control < UIng::BlockConstructor < Reference < Object

Constructors

new(*args, &)
Source
new(*args, **kwargs, &)
Source
new(text : String)
Source

Instance methods

clear_on_clicked

Clears the callback; equivalent to on_clicked(nil).

Source
on_clicked
Source
on_clicked(callback : Nil) : Nil
Source
text
Source
text=(text : String) : Nil
Source
to_unsafe
Source