Skip to main content

Tab

One tab in Tabs.

Inherits: Control

Properties

  • content - The control shown below the tab bar while this tab is selected.
  • icon - An icon or control shown before label.
  • label - The label of the tab button.
  • value - The value the tabs take when this tab is selected.

Properties​

contentclass-attributeinstance-attribute​

content: Control | None = None

The control shown below the tab bar while this tab is selected.

iconclass-attributeinstance-attribute​

icon: IconDataOrControl | None = None

An icon or control shown before label.

labelinstance-attribute​

label: StrOrControl

The label of the tab button.

valueinstance-attribute​

value: str

The value the tabs take when this tab is selected.