ToolbarTabs.add Method
Parent Object:
ToolbarTabsDefined in namespace "adsk::core" and the header file is <Core/UserInterface/ToolbarTabs.h>
Description
Creates a new ToolbarTab. The tab is initially empty. This method appends the tab to the end of the collection.
Syntax
"toolbarTabs_var" is a variable referencing a ToolbarTabs object.returnValue = toolbarTabs_var.add(id, name)
|
"toolbarTabs_var" is a variable referencing a ToolbarTabs object.
#include <Core/UserInterface/ToolbarTabs.h>
returnValue = toolbarTabs_var->add(id, name);
|
Return Value
ToolbarTab |
Returns the newly created tab or null in the case the creation failed. |
Parameters
id |
string |
The unique id for this tab. The id must be unique with respect to all of the tabs. |
name |
string |
The displayed name of this tab. This is the name visible in the user interface. |
Samples
Version
Introduced in version October 2019