class fwt::TabPane

sys::Obj
  fwt::Widget
    fwt::TabPane

@Js
@Serializable { collection=true }

Source

TabPane is a container used organize a set of Tabs. Tabs are added and removed using normal Widget.add and Widget.remove.

add

@Operator
virtual override This add(Widget? kid)

Source

Only Tab children may be added.

index

Int? index(Tab tab)

Source

Get the index of the specified tab.

onSelect

EventListeners onSelect()

Source

Callback when the new tab is selected.

Event id fired:

Event fields:

selected

@Transient
Tab? selected

Source

The currently selected tab.

selectedIndex

@Transient
Int? selectedIndex

Source

The currently selected index of tabs.

tabs

Tab[] tabs()

Source

Get the list of installed tabs. Tabs are added and removed using normal Widget.add and Widget.remove.