ToolbarTabList.itemById Method

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

Description

Returns the ToolbarTab of the specified ID.

Syntax

"toolbarTabList_var" is a variable referencing a ToolbarTabList object.
returnValue = toolbarTabList_var.itemById(id)
"toolbarTabList_var" is a variable referencing a ToolbarTabList object.

#include <Core/UserInterface/ToolbarTabList.h>

returnValue = toolbarTabList_var->itemById(id);

Return Value

Type Description
ToolbarTab Returns the specified ToolbarTab or null in the case where there isn't a ToolbarTab with the specified ID.

Parameters

Name Type Description
id string The ID of the ToolbarTab to get.

Samples

Name Description
Tabbed Toolbar API Sample Demonstrates how to work with the tabbed toolbar API.

Version

Introduced in version August 2019