Base type for D-Bus interfaces.
The <GDBusInterface> type is the base type
for D-Bus interfaces both on the service side (see
<GDBusInterfaceSkeleton>) and client
side (see <GDBusProxy>).
Gets D-Bus introspection information for the D-Bus interface implemented by self.
This can return #f if no
<GDBusInterfaceInfo> was provided during
construction of self and is also not made available otherwise. For
example, <GDBusProxy> implements
<GDBusInterface> but allows for a #f
<GDBusInterfaceInfo>.
Passed: a <GDBusInterface>.
An exported D-Bus interface.
Returned: a <GDBusInterfaceInfo>, or
#f.
A <GDBusInterfaceInfo>. Do not free.
Gets the <GDBusObject> that self belongs
to, if any.
It is not safe to use the returned object if self or the returned
object is being used from other threads. See
g_dbus_interface_dup_object() for a thread-safe alternative.
Passed: a <GDBusInterface>.
An exported D-Bus interface
Returned: a <GDBusObject>, or #f.
A <GDBusObject> or #f. The returned
reference belongs to self and should not be freed.
Sets the <GDBusObject> for self to
object.
Note that self will hold a weak reference to object.
Passed: a <GDBusInterface>.
An exported D-Bus interface.
Passed, or left out: a <GDBusObject>, or
#f.
A <GDBusObject> or #f.
Gets the <GDBusObject> that self belongs
to, if any.
To override it in a new class, give register-type #:vfuncs
`((dup-object . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusInterface>, or its GType number.
Passed: a <GDBusInterface>.
An exported D-Bus interface.
Returned: a <GDBusObject>, or #f.
A <GDBusObject> or #f. The returned
reference should be freed with object:unref.
Gets D-Bus introspection information for the D-Bus interface implemented by self.
This can return #f if no
<GDBusInterfaceInfo> was provided during
construction of self and is also not made available otherwise. For
example, <GDBusProxy> implements
<GDBusInterface> but allows for a #f
<GDBusInterfaceInfo>.
To override it in a new class, give register-type #:vfuncs
`((get-info . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusInterface>, or its GType number.
Passed: a <GDBusInterface>.
An exported D-Bus interface.
Returned: a <GDBusInterfaceInfo>, or
#f.
A <GDBusInterfaceInfo>. Do not free.
Sets the <GDBusObject> for self to
object.
Note that self will hold a weak reference to object.
To override it in a new class, give register-type #:vfuncs
`((set-object . ,procedure)). The procedure is called as
(procedure self object).
Passed: the class whose implementation to call: a class that implements
<GDBusInterface>, or its GType number.
Passed: a <GDBusInterface>.
An exported D-Bus interface.
Passed, or left out: a <GDBusObject>, or
#f.
A <GDBusObject> or #f.