SelectionEvent.add Method
Parent Object:
SelectionEventDefined 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
boolean |
Returns true if the handler was successfully added to the set of event handlers. |
Parameters
handler |
SelectionEventHandler |
The client implemented SelectionEventHandler to be called when this event is triggered. |
Version
Introduced in version August 2014