button

This type represents a button control.

This type inherits control type. All of its base methods and fields are also available in this type.

__call๏ปฟ

Constructs the button.

Arguments

Name

Type

Description

id

Control ID.

str

string

Text string.

Returns

Type

Description

button

Button object.

Example

local btn = gui.button(id, 'Hello!');

Last updated