gr application rem event listener

#include <gre/gre.h>                
int gr_application_rem_event_listener(
  gr_application_t *app, 
  gr_application_event_listener_t *listener
);

The gr_application_rem_event_listener function provides an interface to free a user created gr_application_event_listener_t.

Parameters: app A pointer to an application handle created using gr_application_create_args. listener A pointer to a gr_application_event_listener_t created by gr_application_add_event_listener Returns: Zero on success, -1 on failure.

The gr_application_rem_event_listener is the method used to free a gr_application_event_listener_t created by gr_application_add_event_listener. Any handler associuated with this listener will no longer execute.

Was this article helpful?
0 out of 0 found this helpful