Ubuntu.Components.TabBar
Tab bar that will be shown in the header when Tabs is active. This component does not need to be instantiated by the developer, it is automatically created by the Tabs. More...
Import Statement: | import Ubuntu.Components 1.3 |
Inherits: |
- Obsolete members
Properties
- alwaysSelectionMode : bool
- animate : bool
- model : var
- pressed : bool
- selectedIndex : int
- selectionMode : bool
Detailed Description
Property Documentation
alwaysSelectionMode : bool |
Do not deactivate the tab bar after a specified idle time or when the user selects a new tab. Off by default.
animate : bool |
Show animations when the state changes. Default: true.
model : TabBar. The tabs are visualized by the style, displaying controlling elements based on the data specified by the roles. The default style mandates the existence of either the title or tab role, but different styles may require to have other roles (e.g. image, color). The order the role existence is checked is also determined by the style component, Default style checks the existence of the tab role first, and if not defined will use the title role.
The user is interacting with the tab bar. Depends on the style pressed property.
The property holds the index of the selected Tab item. Note: Setting this property is DEPRECATED. Set the selectedIndex of the model instead.
An inactive tab bar only displays the currently selected tab, and an active tab bar can be interacted with to select a tab. |