Atspi.DeviceListener
Description: Reference for Atspi.DeviceListener

### Class

# AtspiDeviceListener

since: 2.0

#### Description

    class Atspi.DeviceListener : GObject.Object
    {
      id: guint,
      callbacks: GList*
    }

No description available.

Available since: 2.0

#### Ancestors

- GObject

#### Constructors

###### atspi_device_listener_new

Creates a new `AtspiDeviceListener` with a specified callback function.

since: 2.0

###### atspi_device_listener_new_simple

Creates a new `AtspiDeviceListener` with a specified callback function. This method is similar to #atspi_device_listener_new, but callback takes no user data.

since: 2.0

#### Instance methods

###### atspi_device_listener_add_callback

Adds an in-process callback function to an existing `AtspiDeviceListener`.

since: 2.0

###### atspi_device_listener_remove_callback

Removes an in-process callback function from an existing `AtspiDeviceListener`.

since: 2.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

#### Class structure

    struct AtspiDeviceListenerClass {
      GObjectClass parent_class;
      gboolean (* device_event) (
        AtspiDeviceListener* listener,
        const AtspiDeviceEvent* event
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`
  No description available.
`device_event: gboolean (* device_event) ( AtspiDeviceListener* listener, const AtspiDeviceEvent* event )`
  No description available.

#### Virtual methods

###### Atspi.DeviceListenerClass.device_event

No description available.

since: 2.0