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

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

Examples

ui.tabs("ui.action.settlement.select-tab", settlement_tabs, active_tab)

API history

Related symbols

Project references