The <GDBusObjectManager> type is the
base type for service- and client-side implementations of the
standardized
‘org.freedesktop.DBus.ObjectManager‘
interface.
See <GDBusObjectManagerClient> for
the client-side implementation and
<GDBusObjectManagerServer> for the
service-side implementation.
Gets the interface proxy for interface-name at object-path, if any.
Passed: a <GDBusObjectManager>.
Passed: a string.
Object path to look up.
Passed: a string.
D-Bus interface name to look up.
Returned: a <GDBusInterface>, or #f.
A <GDBusInterface> instance or #f.
Free with object:unref.
Gets the <GDBusObject> at object-path, if
any.
Passed: a <GDBusObjectManager>.
Passed: a string.
Object path to look up.
Returned: a <GDBusObject>, or #f.
A <GDBusObject> or #f. Free with
object:unref.
Gets the object path that self is for.
Passed: a <GDBusObjectManager>.
Returned: a string.
A string owned by self. Do not free.
Gets all <GDBusObject> objects known to
self.
Passed: a <GDBusObjectManager>.
Returned: a list, each a <GDBusObject>.
A list of <GDBusObject> objects. The returned
list should be freed with g_list_free() after each element has
been freed with object:unref.
Connect a handler with (connect object
dbus-object-manager:interface-added handler). It is called as
(handler self object interface).
Emitted when interface is added to object.
This signal exists purely as a convenience to avoid having to connect signals to all objects managed by manager.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
The <GDBusObject> on which an interface was
added.
Passed: a <GDBusInterface>.
The <GDBusInterface> that was added.
Connect a handler with (connect object
dbus-object-manager:interface-removed handler). It is called as
(handler self object interface).
Emitted when interface has been removed from object.
This signal exists purely as a convenience to avoid having to connect signals to all objects managed by manager.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
The <GDBusObject> on which an interface was
removed.
Passed: a <GDBusInterface>.
The <GDBusInterface> that was removed.
Connect a handler with (connect object
dbus-object-manager:object-added handler). It is called as
(handler self object).
Emitted when object is added to manager.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
The <GDBusObject> that was added.
Connect a handler with (connect object
dbus-object-manager:object-removed handler). It is called as
(handler self object).
Emitted when object is removed from manager.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
The <GDBusObject> that was removed.
Gets the interface proxy for interface-name at object-path, if any.
To override it in a new class, give register-type #:vfuncs
`((get-interface . ,procedure)). The procedure is called as
(procedure self object-path interface-name) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Passed: a string.
Object path to look up.
Passed: a string.
D-Bus interface name to look up.
Returned: a <GDBusInterface>, or #f.
A <GDBusInterface> instance or #f.
Free with object:unref.
Gets the <GDBusObject> at object-path, if
any.
To override it in a new class, give register-type #:vfuncs
`((get-object . ,procedure)). The procedure is called as
(procedure self object-path) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Passed: a string.
Object path to look up.
Returned: a <GDBusObject>, or #f.
A <GDBusObject> or #f. Free with
object:unref.
Gets the object path that self is for.
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
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Returned: a string.
A string owned by self. Do not free.
Gets all <GDBusObject> objects known to
self.
To override it in a new class, give register-type #:vfuncs
`((get-objects . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Returned: a list, each a <GDBusObject>.
A list of <GDBusObject> objects. The returned
list should be freed with g_list_free() after each element has
been freed with object:unref.
Signal handler for the dbus-object-manager:interface-added signal.
To override it in a new class, give register-type #:vfuncs
`((interface-added . ,procedure)). The procedure is called as
(procedure self object interface-).
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
Passed: a <GDBusInterface>.
Signal handler for the dbus-object-manager:interface-removed signal.
To override it in a new class, give register-type #:vfuncs
`((interface-removed . ,procedure)). The procedure is called as
(procedure self object interface-).
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
Passed: a <GDBusInterface>.
Signal handler for the dbus-object-manager:object-added signal.
To override it in a new class, give register-type #:vfuncs
`((object-added . ,procedure)). The procedure is called as
(procedure self object).
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.
Signal handler for the dbus-object-manager:object-removed signal.
To override it in a new class, give register-type #:vfuncs
`((object-removed . ,procedure)). The procedure is called as
(procedure self object).
Passed: the class whose implementation to call: a class that implements
<GDBusObjectManager>, or its GType
number.
Passed: a <GDBusObjectManager>.
Passed: a <GDBusObject>.