UserInterface.activeToolbar Property

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

Description

Retrieve the active Toolbar being displayed in the user interface.

Syntax

"userInterface_var" is a variable referencing a UserInterface object.

# Get the value of the property.
propertyValue = userInterface_var.activeToolbar
"userInterface_var" is a variable referencing a UserInterface object.
#include <Core/UserInterface/UserInterface.h>

// Get the value of the property.
Ptr<Toolbar> propertyValue = userInterface_var->activeToolbar();

Property Value

This is a read only property whose value is a Toolbar.

Version

Introduced in version May 2024