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.

Version

Introduced in version August 2019