The <GDBusObject> type is the base type for
D-Bus objects on both the service side (see
<GDBusObjectSkeleton>) and the client
side (see <GDBusObjectProxy>). It is
essentially just a container of interfaces.
Gets the D-Bus interface with name interface-name associated with self, if any.
Passed: a <GDBusObject>.
Passed: a string.
A D-Bus interface name.
Returned: a <GDBusInterface>, or #f.
#f if not found, otherwise a
<GDBusInterface> that must be freed with
object:unref.
Gets the D-Bus interfaces associated with self.
Passed: a <GDBusObject>.
Returned: a list, each a <GDBusInterface>.
A list of <GDBusInterface> instances. The
returned list must be freed by g_list_free() after each element
has been freed with object:unref.
Gets the object path for self.
Passed: a <GDBusObject>.
Returned: a string.
A string owned by self. Do not free.
Connect a handler with (connect object dbus-object:interface-added
handler). It is called as (handler self interface).
Emitted when interface is added to object.
Passed: a <GDBusObject>.
Passed: a <GDBusInterface>.
The <GDBusInterface> that was added.
Connect a handler with (connect object
dbus-object:interface-removed handler). It is called as (handler
self interface).
Emitted when interface is removed from object.
Passed: a <GDBusObject>.
Passed: a <GDBusInterface>.
The <GDBusInterface> that was removed.
Gets the D-Bus interface with name interface-name associated with self, if any.
To override it in a new class, give register-type #:vfuncs
`((get-interface . ,procedure)). The procedure is called as
(procedure self interface-name) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusObject>, or its GType number.
Passed: a <GDBusObject>.
Passed: a string.
A D-Bus interface name.
Returned: a <GDBusInterface>, or #f.
#f if not found, otherwise a
<GDBusInterface> that must be freed with
object:unref.
Gets the D-Bus interfaces associated with self.
To override it in a new class, give register-type #:vfuncs
`((get-interfaces . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusObject>, or its GType number.
Passed: a <GDBusObject>.
Returned: a list, each a <GDBusInterface>.
A list of <GDBusInterface> instances. The
returned list must be freed by g_list_free() after each element
has been freed with object:unref.
Gets the object path for self.
To override it in a new class, give register-type #:vfuncs
`((get-object-path . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusObject>, or its GType number.
Passed: a <GDBusObject>.
Returned: a string.
A string owned by self. Do not free.
Signal handler for the dbus-object:interface-added signal.
To override it in a new class, give register-type #:vfuncs
`((interface-added . ,procedure)). The procedure is called as
(procedure self interface-).
Passed: the class whose implementation to call: a class that implements
<GDBusObject>, or its GType number.
Passed: a <GDBusObject>.
Passed: a <GDBusInterface>.
Signal handler for the dbus-object:interface-removed signal.
To override it in a new class, give register-type #:vfuncs
`((interface-removed . ,procedure)). The procedure is called as
(procedure self interface-).
Passed: the class whose implementation to call: a class that implements
<GDBusObject>, or its GType number.
Passed: a <GDBusObject>.
Passed: a <GDBusInterface>.