Atspi.DeviceListener

g Atspi.DeviceListener Atspi.DeviceListener GObject.Object GObject.Object GObject.Object->Atspi.DeviceListener

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (callback, *user_data)

add_callback (callback, *user_data)

remove_callback (callback)

Virtual Methods

Inherited:

GObject.Object (7)

do_device_event (event)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

callbacks

[object]

r

id

int

r

parent

GObject.Object

r

Class Details

class Atspi.DeviceListener(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Atspi.DeviceListenerClass

classmethod new(callback, *user_data)
Parameters:
Returns:

a pointer to a newly-created Atspi.DeviceListener.

Return type:

Atspi.DeviceListener

Creates a new Atspi.DeviceListener with a specified callback function.

add_callback(callback, *user_data)
Parameters:

Adds an in-process callback function to an existing Atspi.DeviceListener.

remove_callback(callback)
Parameters:

callback (Atspi.DeviceListenerCB) – an Atspi.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:

bool