Constructor
AtspiDeviceListenernew
Declaration [src]
AtspiDeviceListener*
atspi_device_listener_new (
AtspiDeviceListenerCB callback,
void* user_data,
GDestroyNotify callback_destroyed
)
Parameters
callback |
AtspiDeviceListenerCB |
An |
|
user_data |
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 function. | |
callback_destroyed |
GDestroyNotify |
A |
Return value
Returns: | AtspiDeviceListener |
A pointer to a newly-created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |