- addTab
TabWidget addTab(Widget widget, string labelResourceId, string iconId, bool enableCloseButton, dstring tooltipText)
add new tab by id and label string resource id
- addTab
TabWidget addTab(Widget widget, dstring label, string iconId, bool enableCloseButton, dstring tooltipText)
add new tab by id and label (raw value)
- handleAction
bool handleAction(Action a)
override to handle specific actions
- onKeyEvent
bool onKeyEvent(KeyEvent event)
process key event, return true if event is processed.
- onTabChanged
void onTabChanged(string newActiveTabId, string previousTabId)
Undocumented in source. Be warned that the author may not have intended to support it.
- onTabClose
void onTabClose(string tabId)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeTab
TabWidget removeTab(string id)
- renameTab
void renameTab(string ID, dstring name)
- renameTab
void renameTab(int index, dstring name)
- renameTab
void renameTab(int index, string id, dstring name)
- selectTab
void selectTab(string ID, bool updateAccess)
- selectTab
void selectTab(int index, bool updateAccess)
- selectedTabBody
Widget selectedTabBody()
get tab content widget by id
- setStyles
void setStyles(string tabWidgetStyle, string tabStyle, string tabButtonStyle, string tabButtonTextStyle, string tabHostStyle)
- tab
TabItem tab(int index)
returns tab item by id (null if index out of range)
- tab
TabItem tab(string id)
returns tab item by id (null if not found)
- tabBody
Widget tabBody(string id)
get tab content widget by id
- tabBody
Widget tabBody(int index)
get tab content widget by id
- tabControl
TabControl tabControl()
Undocumented in source. Be warned that the author may not have intended to support it.
- tabHost
TabHost tabHost()
Undocumented in source. Be warned that the author may not have intended to support it.
- tabIndex
int tabIndex(string id)
get tab index by tab id (-1 if not found)
- hiddenTabsVisibility
Visibility hiddenTabsVisibility [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hiddenTabsVisibility
Visibility hiddenTabsVisibility [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- selectedTab
TabItem selectedTab [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- selectedTab
const(TabItem) selectedTab [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- selectedTabId
string selectedTabId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- tabCount
int tabCount [@property getter]
compound widget - contains from TabControl widget (tabs header) and TabHost (content pages)