TabFolder
A widget that can switch between tabs. Includes Widget
Methods
append(child, child*)
Parameters:
Returns: TabFolder
Adds the given tabs in the given order to the TabFolder
Properties
paging
Type: boolean
Enables swiping through tabs.
selection
Type: Tab
The currently selected tab.
tabBarLocation
Type: string, supported values: top
, bottom
, hidden
, auto
, default: auto
The placement of the tab titles. When set to "hidden"
, the tab bar will not be visible. When set to "auto"
, the position is platform dependent.
This property can only be set on widget creation. Once set, it cannot be changed anymore.
Events
“change:selection” (widget, selection, options)
Parameters:
Fired when the selection property changes.
“select” (widget, selection, options)
Parameters:
Fired when the selection property changes by user interaction.