Skip to main content
Version: 9.0.2

gr_context_get_event_name

#include <gre/gre.h>
char *gr_context_get_event_name(
gr_action_context_t *action_context
);

The gr_context_get_event_name function returns the name of the event that the action is associated with.

gr_context_get_event_name will return the name of the event that occured that caused the action to be invoked.

Parameters

ParameterTypeDescription
action_contextgr_action_context_t*The action context to get the fully qualified name from.

Returns

TypeDescription
char*The name of the event if there is an event name in the context, null otherwise.