SplitButtonControl.parent Property

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

Description

Gets the Parent object. When associated with a toolbar (right or left QAT or the NavBar) this returns the parent Toolbar object. When associated with a panel it returns the parent ToolbarPanel object. When associated with a control (DropDownControl) it returns the parent control.

Syntax

"splitButtonControl_var" is a variable referencing a SplitButtonControl object.

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

// Get the value of the property.
Ptr<Base> propertyValue = splitButtonControl_var->parent();

Property Value

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

Version

Introduced in version August 2014