mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-23 01:02:23 +08:00
feat(lua): Add tab:is_selected
function to check if the tab is the currently selected one in the GUI. (#1763)
This commit is contained in:
@ -2,7 +2,17 @@
|
||||
|
||||
Class for representing a tab within the GUI.
|
||||
|
||||
## Functions (11)
|
||||
## Functions (12)
|
||||
|
||||
### `is_selected()`
|
||||
|
||||
- **Returns:**
|
||||
- `boolean`: Returns true if this tab is the currently selected one in the GUI.
|
||||
|
||||
**Example Usage:**
|
||||
```lua
|
||||
boolean = tab:is_selected()
|
||||
```
|
||||
|
||||
### `clear()`
|
||||
|
||||
|
Reference in New Issue
Block a user