ToolbarTabs.itemById Method

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

Description

Returns the ToolbarTab at the specified ID.

Syntax

"toolbarTabs_var" is a variable referencing a ToolbarTabs object.
returnValue = toolbarTabs_var.itemById(id)
"toolbarTabs_var" is a variable referencing a ToolbarTabs object.

#include <Core/UserInterface/ToolbarTabs.h>

returnValue = toolbarTabs_var->itemById(id);

Return Value

Type Description
ToolbarTab Returns the ToolbarTab of the specified id or null if no tab has the specified id.

Parameters

Name Type Description
id string The Id of the tab within the collection to return.

Version

Introduced in version August 2019