This type represents a button control.
This type inherits control type. All of its base methods and fields are also available in this type.
control
Constructor
Constructs the button.
Arguments
Name
Type
Description
id
control_id
Control ID.
str
string
Text string.
Returns
button
Button object.
Example
local btn = gui.button(id, 'Hello!');
Last updated 1 year ago