container
This type represents an abstract container.
add
Adds a control to the container.
Arguments
Name
Type
Description
Returns
Nothing.
Example
container:add(my_control);
remove
Removes a control from the container.
Arguments
Name
Type
Description
Returns
Nothing.
Example
container:remove(my_control);
find
Finds a control by ID.
Arguments
Name
Type
Description
id
string
Control ID.
Returns
Type
Description
<control>?
Casted control. Returns nil
if the control was not found, or casting failed.
Example
local some_cb = container:find('some_cb');
Last updated