newspeoplefor developersdocumentationdownloads

nGuiTabbedLayout Script Interface

nguitabbedlayout:

Super Class:

C++ Class:

Info

A tabbed layout extends a form layout by a row of tab buttons, and a number of child form layouts which are switched visible by the tab buttons.

Commands:


setnumtabs

Command Input:
i(NumTabs)
Command Output:
v
Command Description:
Set the number of tabs in the tab layout.

getnumtabs

Command Input:
v
Command Output:
i(NumTabs)
Command Description:
Returns number of tabs in the tab layout.

setactivetab

Command Input:
i(TabIndex)
Command Output:
v
Command Description:
Set the active tab. The child layout of this tab will be made visible.

getactivetab

Command Input:
v
Command Output:
i(TabIndex)
Command Description:
Returns the index of the active tab.

gettabbuttonat

Command Input:
i(TabIndex)
Command Output:
o(TabButtonObject)
Command Description:
Returns the tab button object for the given tab index.

getchildlayoutat

Command Input:
i(TabIndex)
Command Output:
o(ChildLayoutObject)
Command Description:
Returns the child layout object for the given tab index.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.