The OpenD Programming Language

TabMessageWidget.addTab

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

class TabMessageWidget
int
addTab
(
string title
,
int pos = int.max
)

Return Value

Type: int

The index of the newly added tab. You will need to know this index to refer to it later and to know which tab to change to when you get a changetab message.

Meta