Gio.DBusInterface¶
- Implementations:
Methods¶
|
|
|
|
|
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Gio.DBusInterface¶
- Bases:
- Structure:
Base type for D-Bus interfaces.
The
GDBusInterface
type is the base type for D-Bus interfaces both on the service side (see [class`Gio`.DBusInterfaceSkeleton]) and client side (see [class`Gio`.DBusProxy]).New in version 2.30.
- get_info()[source]¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
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
orNone
. The returned reference should be freed withGObject.Object.unref
().- Return type:
Gets the
Gio.DBusObject
that self belongs to, if any.New in version 2.32.
- set_object(object)[source]¶
- Parameters:
object (
Gio.DBusObject
orNone
) – AGio.DBusObject
orNone
.
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
orNone
. The returned reference should be freed withGObject.Object.unref
().- Return type:
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:
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
orNone
) – AGio.DBusObject
orNone
.
Sets the
Gio.DBusObject
for interface_ to object.Note that interface_ will hold a weak reference to object.
New in version 2.30.