widget · ui.widget
tabs
Bounded tab labels with one active index and stable action identity.
ui.tabs(action_id, labels, active_index)
- Stable ID
ui.widget.tabs- Owner
- app.ScriptUiTabStrip
- Authority
- presentation
- Timing
- composition
- Availability
- Phase 19Q9D
- Side effects
- Records detached presentation intent.
- Determinism
- Declaration order and active index.
- Introduced
- 1.19.0
Usage
Compose one keyboard-selectable tab strip at the start of a panel and preserve the selected stable label in the activation.
Parameters
- None
Returns
A stable widget contract consumed by the interface composition host.
Cost
Two through eight bounded tab items plus their text.
Fields
This symbol has no fields.
Errors
- None
Examples
ui.tabs("ui.action.settlement.select-tab", settlement_tabs, active_tab)
API history
- 1.19.0: Added tab presentation for Phase 19Q9D.