Gio.DBusObjectManager¶
| Implementations: | |
|---|---|
| Gio.DBusObjectManagerClient,Gio.DBusObjectManagerServer | |
Methods¶
| get_interface(object_path, interface_name) | |
| get_object(object_path) | |
| get_object_path() | |
| get_objects() | 
Virtual Methods¶
| do_get_interface(object_path, interface_name) | |
| do_get_object(object_path) | |
| do_get_object_path() | |
| do_get_objects() | |
| do_interface_added(object, interface_) | |
| do_interface_removed(object, interface_) | |
| do_object_added(object) | |
| do_object_removed(object) | 
Properties¶
None
Signals¶
| Name | Short Description | 
|---|---|
| interface-added | Emitted when interface is added to object. | 
| interface-removed | Emitted when interface has been removed from object. | 
| object-added | Emitted when object is added to manager. | 
| object-removed | Emitted when object is removed from manager. | 
Fields¶
None
Class Details¶
- 
class Gio.DBusObjectManager¶
- Bases: - GObject.GInterface- Structure: - Gio.DBusObjectManagerIface- The - Gio.DBusObjectManagertype is the base type for service- and client-side implementations of the standardized org.freedesktop.DBus.ObjectManager interface.- See - Gio.DBusObjectManagerClientfor the client-side implementation and- Gio.DBusObjectManagerServerfor the service-side implementation.- 
get_interface(object_path, interface_name)[source]¶
- Parameters: - Returns: - A - Gio.DBusInterfaceinstance or- None. Free with- GObject.Object.unref().- Return type: - Gets the interface proxy for interface_name at object_path, if any. - New in version 2.30. 
 - 
get_object(object_path)[source]¶
- Parameters: - object_path ( - str) – Object path to look up.- Returns: - A - Gio.DBusObjector- None. Free with- GObject.Object.unref().- Return type: - Gio.DBusObject- Gets the - Gio.DBusObjectProxyat object_path, if any.- New in version 2.30. 
 - 
get_object_path()[source]¶
- Returns: - A string owned by self. Do not free. - Return type: - str- Gets the object path that self is for. - New in version 2.30. 
 - 
get_objects()[source]¶
- Returns: - A list of - Gio.DBusObjectobjects. The returned list should be freed with g_list_free() after each element has been freed with- GObject.Object.unref().- Return type: - [ - Gio.DBusObject]- Gets all - Gio.DBusObjectobjects known to self.- New in version 2.30. 
 - 
do_get_interface(object_path, interface_name) virtual¶
- Parameters: - Returns: - A - Gio.DBusInterfaceinstance or- None. Free with- GObject.Object.unref().- Return type: - Gets the interface proxy for interface_name at object_path, if any. - New in version 2.30. 
 - 
do_get_object(object_path) virtual¶
- Parameters: - object_path ( - str) – Object path to look up.- Returns: - A - Gio.DBusObjector- None. Free with- GObject.Object.unref().- Return type: - Gio.DBusObject- Gets the - Gio.DBusObjectProxyat object_path, if any.- New in version 2.30. 
 - 
do_get_object_path() virtual¶
- Returns: - A string owned by manager. Do not free. - Return type: - str- Gets the object path that manager is for. - New in version 2.30. 
 - 
do_get_objects() virtual¶
- Returns: - A list of - Gio.DBusObjectobjects. The returned list should be freed with g_list_free() after each element has been freed with- GObject.Object.unref().- Return type: - [ - Gio.DBusObject]- Gets all - Gio.DBusObjectobjects known to manager.- New in version 2.30. 
 - 
do_interface_added(object, interface_) virtual¶
- Parameters: - object (Gio.DBusObject) –
- interface (Gio.DBusInterface) –
 
- object (
 - 
do_interface_removed(object, interface_) virtual¶
- Parameters: - object (Gio.DBusObject) –
- interface (Gio.DBusInterface) –
 
- object (
 - 
do_object_added(object) virtual¶
- Parameters: - object ( - Gio.DBusObject) –
 - 
do_object_removed(object) virtual¶
- Parameters: - object ( - Gio.DBusObject) –
 
- 
Signal Details¶
- 
Gio.DBusObjectManager.signals.interface_added(d_bus_object_manager, object, interface)¶
- Signal Name: - interface-added- Flags: - Parameters: - d_bus_object_manager (Gio.DBusObjectManager) – The object which received the signal
- object (Gio.DBusObject) – TheGio.DBusObjecton which an interface was added.
- interface (Gio.DBusInterface) – TheGio.DBusInterfacethat was added.
 - 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. - New in version 2.30. 
- d_bus_object_manager (
- 
Gio.DBusObjectManager.signals.interface_removed(d_bus_object_manager, object, interface)¶
- Signal Name: - interface-removed- Flags: - Parameters: - d_bus_object_manager (Gio.DBusObjectManager) – The object which received the signal
- object (Gio.DBusObject) – TheGio.DBusObjecton which an interface was removed.
- interface (Gio.DBusInterface) – TheGio.DBusInterfacethat was removed.
 - 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. - New in version 2.30. 
- d_bus_object_manager (
- 
Gio.DBusObjectManager.signals.object_added(d_bus_object_manager, object)¶
- Signal Name: - object-added- Flags: - Parameters: - d_bus_object_manager (Gio.DBusObjectManager) – The object which received the signal
- object (Gio.DBusObject) – TheGio.DBusObjectthat was added.
 - Emitted when object is added to manager. - New in version 2.30. 
- d_bus_object_manager (
- 
Gio.DBusObjectManager.signals.object_removed(d_bus_object_manager, object)¶
- Signal Name: - object-removed- Flags: - Parameters: - d_bus_object_manager (Gio.DBusObjectManager) – The object which received the signal
- object (Gio.DBusObject) – TheGio.DBusObjectthat was removed.
 - Emitted when object is removed from manager. - New in version 2.30. 
- d_bus_object_manager (