ToolbarPanels.item Method
Parent Object:
ToolbarPanelsDefined in namespace "adsk::core" and the header file is <Core/UserInterface/ToolbarPanels.h>
Description
Returns the specified toolbar panel using an index into the collection. When iterating by index, the panels are returned in the same order as they are shown in the user interface.
Syntax
"toolbarPanels_var" is a variable referencing a ToolbarPanels object.returnValue = toolbarPanels_var.item(index)
|
"toolbarPanels_var" is a variable referencing a ToolbarPanels object.
#include <Core/UserInterface/ToolbarPanels.h>
returnValue = toolbarPanels_var->item(index);
|
Return Value
ToolbarPanel |
Returns the specified item or null if an invalid index was specified. |
Parameters
index |
uinteger |
The index of the item within the collection to return. The first item in the collection has an index of 0. |
Samples
Version
Introduced in version August 2014