Atspi.DeviceListener¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
callbacks |
[ |
r |
|
id |
r |
||
parent |
r |
Class Details¶
- class Atspi.DeviceListener(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(callback, *user_data)¶
- Parameters:
callback (
Atspi.DeviceListenerCB
) – anAtspi.DeviceListenerCB
callback function, orNone
.user_data (
object
orNone
) – a pointer to data which will be passed to the callback when invoked.
- Returns:
a pointer to a newly-created
Atspi.DeviceListener
.- Return type:
Creates a new
Atspi.DeviceListener
with a specified callback function.
- add_callback(callback, *user_data)¶
- Parameters:
callback (
Atspi.DeviceListenerCB
) – anAtspi.DeviceListenerCB
function pointer.user_data (
object
orNone
) – a pointer to data which will be passed to the callback when invoked.
Adds an in-process callback function to an existing
Atspi.DeviceListener
.
- remove_callback(callback)¶
- Parameters:
callback (
Atspi.DeviceListenerCB
) – anAtspi.DeviceListenerCB
function pointer.
Removes an in-process callback function from an existing
Atspi.DeviceListener
.
- do_device_event(event) virtual¶
- Parameters:
event (
Atspi.DeviceEvent
) –- Return type: