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