Method
MaplibreNativeFfiRuntimeEventHandlerset_callback
Declaration [src]
void
maplibre_native_ffi_runtime_event_handler_set_callback (
MaplibreNativeFfiRuntimeEventHandler* self,
MaplibreNativeFfiRuntimeEventCallback callback,
gpointer user_data,
GDestroyNotify notify
)
Description [src]
Receives a batch of events.
See mln_runtime_event_callback in the
C API reference.
Parameters
callback-
Type:
MaplibreNativeFfiRuntimeEventCallbackThe callback.
The argument can be NULL. user_data-
Type:
gpointerThe data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method. notify-
Type:
GDestroyNotifyThe function that frees
user_dataafter the last call.