Constructor
AtspiEventListenernew
Declaration [src]
AtspiEventListener*
atspi_event_listener_new (
AtspiEventListenerCB callback,
gpointer user_data,
GDestroyNotify callback_destroyed
)
Parameters
callback |
AtspiEventListenerCB |
An |
|
user_data |
gpointer |
Data to pass to the callback. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback_destroyed |
GDestroyNotify |
A |
Return value
Returns: | AtspiEventListener |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |