🖼️UIPanel
Last updated
Last updated
nil
UIPanel
): boolean
Overload for operator ==.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Finds child by name.
boolean
Returns visible state.
boolean
): nil
Sets visible state.
string[]
Returns class name list.
???.
???.
Recursive find child by id.
integer
Returns child by count.
Returns child by index.
Returns child by path using FindChild.
integer
Returns index in parent children list. Starts from 0.
UIPanel
|nil
Returns first child.
UIPanel
|nil
Returns last child.
boolean
Returns true
if the panel has an id.
string
Returns id of panel.
string
): nil
Sets the panel's id.
integer
Returns the panel height.
integer
Returns the panel width.
UIPanel
|nil
Returns the panel's parent.
UIPanel
|nil
Returns the panel's root parent. ???
integer
Returns the panel's relative X offset.
integer
Returns the panel's relative Y offset.
{x:number, y:number, w:number, h:number}
Returns the panel's bounds. Iterate over the parent hierarchy to get the absolute bounds.
string
Returns the panel's type.
string
, value: string
): boolean
Sets the panel property.
string
): boolean
Sets the panel style.
string
, value: string
): nil
Sets the panel's attribute.
string
, default: string
): string|nil
Returns the panel's attribute.
string
This method is only available for Label panels.
Returns the panel's text.
string
): nil
This method is only available for Label panels.
Sets the panel's text.
string
): nil
Adds a class to the panel.
string
): nil
Removes a class to the panel.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|