WorkspaceEvent.add Method
Parent Object:
WorkspaceEventDefined in namespace "adsk::core" and the header file is <Core/UserInterface/WorkspaceEvent.h>
Description
Add a handler to be notified when the event occurs.
Syntax
"workspaceEvent_var" is a variable referencing a WorkspaceEvent object.returnValue = workspaceEvent_var.add(handler)
|
"workspaceEvent_var" is a variable referencing a WorkspaceEvent object.
#include <Core/UserInterface/WorkspaceEvent.h>
returnValue = workspaceEvent_var->add(handler);
|
Return Value
boolean |
Returns true if the addition of the handler was successful. |
Parameters
Version
Introduced in version March 2015