Datatype · Userdata
GuiLabel
userdata
Static text proxy returned by GuiCategory:add_label.
Fields
| Name | Type | Description |
|---|---|---|
| category | GuiCategory? | Back-reference to the owning category. |
| destroy | () -> () | Marks the label destroyed. |
| get_text | () -> string | Returns the displayed text. |
| is_destroyed | () -> boolean | Returns the destroyed flag. |
| is_visible | () -> boolean | Returns the visibility flag. |
| kind | ControlKind | Always |
| label | string | Current label text. |
| name | string | Alias for |
| set_label | (text: string) -> () | Replaces the displayed text. Equivalent to |
| set_text | (text: string) -> () | Replaces the displayed text. Equivalent to |
| set_visible | (visible: boolean) -> () | Shows or hides the label. |