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.DeviceListenerCBorNone) – anAtspi.DeviceListenerCBcallback function, orNone.user_data (
objectorNone) – 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.DeviceListenerwith a specified callback function.
- add_callback(callback, *user_data)¶
- Parameters:
callback (
Atspi.DeviceListenerCB) – anAtspi.DeviceListenerCBfunction pointer.user_data (
objectorNone) – 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.DeviceListenerCBfunction pointer.
Removes an in-process callback function from an existing
Atspi.DeviceListener.
- do_device_event(event) virtual¶
- Parameters:
event (
Atspi.DeviceEvent) –- Return type: