Constructor
AtspiDeviceListenernew_simple
Declaration [src]
AtspiDeviceListener*
atspi_device_listener_new_simple (
AtspiDeviceListenerSimpleCB callback,
GDestroyNotify callback_destroyed
)
Description [src]
Creates a new AtspiDeviceListener
with a specified callback function.
This method is similar to #atspi_device_listener_new, but callback
takes no user data.
This constructor is not directly available to language bindings |
Parameters
callback |
AtspiDeviceListenerSimpleCB |
An |
|
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. |