TabWidget

compound widget - contains from TabControl widget (tabs header) and TabHost (content pages)

Constructors

this
this(string ID)
Undocumented in source.

Members

Functions

addTab
TabWidget addTab(Widget widget, string labelResourceId, string iconId, bool enableCloseButton)

add new tab by id and label string resource id

addTab
TabWidget addTab(Widget widget, dstring label, string iconId, bool enableCloseButton)

add new tab by id and label (raw value)

onTabChanged
void onTabChanged(string newActiveTabId, string previousTabId)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTab
TabWidget removeTab(string id)

remove tab by id

selectTab
void selectTab(string ID)

select tab

Properties

onTabChangedListener
void delegate(string newActiveTabId, string previousTabId) onTabChangedListener [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
onTabChangedListener
void delegate(string newActiveTabId, string previousTabId) onTabChangedListener [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_onTabChanged
void delegate(string newActiveTabId, string previousTabId) _onTabChanged;
Undocumented in source.
_tabControl
TabControl _tabControl;
Undocumented in source.
_tabHost
TabHost _tabHost;
Undocumented in source.

Inherited Members

From TabHandler

onTabChanged
void onTabChanged(string newActiveTabId, string previousTabId)
Undocumented in source.

Meta