ToolbarPanels.item Method

Parent Object: ToolbarPanels
Defined 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

Type Description
ToolbarPanel Returns the specified item or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the item within the collection to return. The first item in the collection has an index of 0.

Samples

Name Description
Write user interface to a file API Sample Writes out the full structure of the Fusion user interface. This information is useful when editing the user-interface, as discussed in the usre manual topic User-Interface Customization with Fusion's API

Version

Introduced in version August 2014