label
This type represents a label control.
__call
Constructor
Constructs the label.
Arguments
Name
Type
Description
str
string
Label string.
bold
bool
Whether to use bold font. Defaults to false.
Returns
Type
Description
label
Label object.
Example
local lab = gui.label(id, 'Hello!');set_text
Method
Sets the new text.
Arguments
Name
Type
Description
str
string
New text.
Returns
Nothing.
Example
Last updated