NavigationEvent.add Method

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

Description

Add a handler to be notified when the event occurs.

Syntax

"navigationEvent_var" is a variable referencing a NavigationEvent object.
returnValue = navigationEvent_var.add(handler)
"navigationEvent_var" is a variable referencing a NavigationEvent object.

#include <Core/UserInterface/NavigationEvent.h>

returnValue = navigationEvent_var->add(handler);

Return Value

Type Description
boolean Returns true if the addition of the handler was successful.

Parameters

Name Type Description
handler NavigationEventHandler The handler object to be called when this event is fired.

Version

Introduced in version March 2021