ToolbarPanel.indexWithinTab Method

Parent Object: ToolbarPanel
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/ToolbarPanel.h>

Description

Gets the position this panel is in within the toolbar tab. The first panel in the tab is at position 0.

Syntax

"toolbarPanel_var" is a variable referencing a ToolbarPanel object.
returnValue = toolbarPanel_var.indexWithinTab(tabId)
"toolbarPanel_var" is a variable referencing a ToolbarPanel object.

#include <Core/UserInterface/ToolbarPanel.h>

returnValue = toolbarPanel_var->indexWithinTab(tabId);

Return Value

Type Description
uinteger Returns the index value of the panel within the tab.

Parameters

Name Type Description
tabId string

Version

Introduced in version August 2019