get_tab
Get a tab by name. If the tab does not exist, create it.
def get_tab(name: str, /, create_if_missing: bool = True) -> Tab: ...
Get a tab by name. If the tab does not exist, create it.
Parameters
| Name | Type | Description |
|---|---|---|
| name | str | The unique identifier for the tab to retrieve or create. |
| create_if_missing | bool = True | Determines whether a new tab should be initialized if one with the specified name is not found. |
Returns
| Type | Description |
|---|---|
Tab | The tab object associated with the provided name. |