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

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()`