2021-04-25 02:47:26 +03:00
|
|
|
# TabInformation
|
|
|
|
|
|
|
|
The `TabInformation` struct describes a tab. `TabInformation` is purely a
|
|
|
|
snapshot of some of the key characteristics of the tab, intended for use in
|
|
|
|
synchronous, fast, event callbacks that format GUI elements such as the window
|
|
|
|
and tab title bars.
|
|
|
|
|
|
|
|
The `TabInformation` struct contains the following fields:
|
|
|
|
|
|
|
|
* `tab_id` - the identifier for the tab
|
|
|
|
* `tab_index` - the logical tab position within its containing window, with 0 indicating the leftmost tab
|
|
|
|
* `is_active` - is true if this tab is the active tab
|
2021-04-25 03:59:39 +03:00
|
|
|
* `active_pane` - the [PaneInformation](PaneInformation.md) for the active pane in this tab
|
2023-03-21 08:01:24 +03:00
|
|
|
* `window_id` - the ID of the window that contains this tab {{since('20220807-113146-c2fee766', inline=True)}}
|
|
|
|
* `window_title` - the title of the window that contains this tab {{since('20220807-113146-c2fee766', inline=True)}}
|
|
|
|
* `tab_title` - the title of the tab {{since('20220807-113146-c2fee766', inline=True)}}
|
2022-06-27 21:45:42 +03:00
|
|
|
|
2021-04-25 02:47:26 +03:00
|
|
|
|