The OpenD Programming Language

TabWidget

A tab widget is a set of clickable tab buttons followed by a content area.

More...

Members

Functions

addPage
TabWidgetPage addPage(string title)

Adds a page and its associated tab with the given label to the widget.

addTab
int addTab(string title, int pos)

While you can still use the addTab from the parent class, *strongly* recommend you use addPage insteaad.

getPage
TabWidgetPage getPage(int index)

Gets the page at the given tab index, or null if the index is bad.

Inherited Members

From TabMessageWidget

addTab
int addTab(string title, int pos)

Adds the a new tab to the control with the given title.

setCurrentTab
void setCurrentTab(int item)
getCurrentTab
int getCurrentTab()
removeTab
void removeTab(int item)

Detailed Description

Tabs can change existing content or can be new pages.

When the user picks a different tab, a change message is generated.

Meta