ApplicationCommandEvent.add Method
Parent Object:
ApplicationCommandEventDefined in namespace "adsk::core" and the header file is <Core/UserInterface/ApplicationCommandEvent.h>
Description
Adds an event handler object to this event endpoint.
Syntax
"applicationCommandEvent_var" is a variable referencing an ApplicationCommandEvent object.returnValue = applicationCommandEvent_var.add(handler)
|
"applicationCommandEvent_var" is a variable referencing an ApplicationCommandEvent object.
#include <Core/UserInterface/ApplicationCommandEvent.h>
returnValue = applicationCommandEvent_var->add(handler);
|
Return Value
boolean |
Returns true if the handler was successfully added to the set of event handlers. |
Parameters
Version
Introduced in version November 2015