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:
Quentin authored and GitHub committed 2023-07-19 09:28:22 +02:00
1 parent 1fa7f3448b
commit 497781b048
3 files changed
+28 -6

No files matched your search

+11 -1
View File
@@ -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()`