Method
AtspiDeviceListeneradd_callback
Declaration [src]
void
atspi_device_listener_add_callback (
AtspiDeviceListener* listener,
AtspiDeviceListenerCB callback,
GDestroyNotify callback_destroyed,
void* user_data
)
Parameters
callback-
Type:
AtspiDeviceListenerCBAn
AtspiDeviceListenerCBfunction pointer. callback_destroyed-
Type:
GDestroyNotifyA
GDestroyNotifycalled when the listener is freed and data associated with the callback should be freed. It can be NULL. user_data-
Type:
void*A pointer to data which will be passed to the callback when invoked.
The argument can be NULL.The data is owned by the caller of the method.