Gio.DBusInterface

g GObject.GInterface GObject.GInterface Gio.DBusInterface Gio.DBusInterface GObject.GInterface->Gio.DBusInterface

Implementations:

Gio.DBusInterfaceSkeleton, Gio.DBusProxy

Methods

get_info ()

get_object ()

set_object (object)

Virtual Methods

do_dup_object ()

do_get_info ()

do_set_object (object)

Properties

None

Signals

None

Fields

None

Class Details

class Gio.DBusInterface
Bases:

GObject.GInterface

Structure:

Gio.DBusInterfaceIface

The Gio.DBusInterface type is the base type for D-Bus interfaces both on the service side (see Gio.DBusInterfaceSkeleton) and client side (see Gio.DBusProxy).

New in version 2.30.

get_info()[source]
Returns:

A Gio.DBusInterfaceInfo. Do not free.

Return type:

Gio.DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface implemented by self.

New in version 2.30.

get_object()[source]
Returns:

A Gio.DBusObject or None. The returned reference should be freed with GObject.Object.unref().

Return type:

Gio.DBusObject or None

Gets the Gio.DBusObject that self belongs to, if any.

New in version 2.32.

set_object(object)[source]
Parameters:

object (Gio.DBusObject or None) – A Gio.DBusObject or None.

Sets the Gio.DBusObject for self to object.

Note that self will hold a weak reference to object.

New in version 2.30.

do_dup_object() virtual
Returns:

A Gio.DBusObject or None. The returned reference should be freed with GObject.Object.unref().

Return type:

Gio.DBusObject or None

Gets the Gio.DBusObject that interface_ belongs to, if any.

New in version 2.32.

do_get_info() virtual
Returns:

A Gio.DBusInterfaceInfo. Do not free.

Return type:

Gio.DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface implemented by interface_.

New in version 2.30.

do_set_object(object) virtual
Parameters:

object (Gio.DBusObject or None) – A Gio.DBusObject or None.

Sets the Gio.DBusObject for interface_ to object.

Note that interface_ will hold a weak reference to object.

New in version 2.30.