Gio.DBusInterface - Interfaces - Gio 2.0 (original) (raw)
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:
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.
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.
Returns:
A Gio.DBusObject or None. The returned reference should be freed with GObject.Object.unref().
Return type:
Gets the Gio.DBusObject that self belongs to, if any.
New in version 2.32.
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:
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 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.