mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-11 09:48:03 +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:
1 parent
1fa7f3448b
commit
497781b048
3 files changed
+28
-6
No files matched your search
+11
-1
@@ -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