SelectionEvent.add Method

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

Description

Adds an event handler to this event endpoint.

Syntax

"selectionEvent_var" is a variable referencing a SelectionEvent object.
returnValue = selectionEvent_var.add(handler)
"selectionEvent_var" is a variable referencing a SelectionEvent object.

#include <Core/UserInterface/SelectionEvent.h>

returnValue = selectionEvent_var->add(handler);

Return Value

Type Description
boolean Returns true if the handler was successfully added to the set of event handlers.

Parameters

Name Type Description
handler SelectionEventHandler The client implemented SelectionEventHandler to be called when this event is triggered.

Version

Introduced in version August 2014