Gio.DBusObjectManager
Description: Reference for Gio.DBusObjectManager

### Interface

# GioDBusObjectManager

#### Description [src]

    interface Gio.DBusObjectManager : GObject.Object

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.

#### Prerequisite

In order to implement DBusObjectManager, your type must inherit from`GObject`.

#### Implementations

- GDBusObjectManagerClient
- GDBusObjectManagerServer

#### Instance methods

###### g_dbus_object_manager_get_interface

Gets the interface proxy for `interface_name` at `object_path`, if any.

since: 2.30

###### g_dbus_object_manager_get_object

Gets the `GDBusObject` at `object_path`, if any.

since: 2.30

###### g_dbus_object_manager_get_object_path

Gets the object path that `manager` is for.

since: 2.30

###### g_dbus_object_manager_get_objects

Gets all `GDBusObject` objects known to `manager`.

since: 2.30

#### Signals

###### Gio.DBusObjectManager::interface-added

Emitted when `interface` is added to `object`.

since: 2.30

###### Gio.DBusObjectManager::interface-removed

Emitted when `interface` has been removed from `object`.

since: 2.30

###### Gio.DBusObjectManager::object-added

Emitted when `object` is added to `manager`.

since: 2.30

###### Gio.DBusObjectManager::object-removed

Emitted when `object` is removed from `manager`.

since: 2.30

#### Interface structure

    struct GioDBusObjectManagerIface {
      GTypeInterface parent_iface;
      const gchar* (* get_object_path) (
        GDBusObjectManager* manager
      );
      GList* (* get_objects) (
        GDBusObjectManager* manager
      );
      GDBusObject* (* get_object) (
        GDBusObjectManager* manager,
        const gchar* object_path
      );
      GDBusInterface* (* get_interface) (
        GDBusObjectManager* manager,
        const gchar* object_path,
        const gchar* interface_name
      );
      void (* object_added) (
        GDBusObjectManager* manager,
        GDBusObject* object
      );
      void (* object_removed) (
        GDBusObjectManager* manager,
        GDBusObject* object
      );
      void (* interface_added) (
        GDBusObjectManager* manager,
        GDBusObject* object,
        GDBusInterface* interface_
      );
      void (* interface_removed) (
        GDBusObjectManager* manager,
        GDBusObject* object,
        GDBusInterface* interface_
      );

    }

Base type for D-Bus object managers.

###### Interface members

`parent_iface` |
    GTypeInterface
| The parent interface.
`get_object_path` |
    const gchar* (* get_object_path) (
        GDBusObjectManager* manager
      )
| Virtual function for g_dbus_object_manager_get_object_path().
`get_objects` |
    GList* (* get_objects) (
        GDBusObjectManager* manager
      )
| Virtual function for g_dbus_object_manager_get_objects().
`get_object` |
    GDBusObject* (* get_object) (
        GDBusObjectManager* manager,
        const gchar* object_path
      )
| Virtual function for g_dbus_object_manager_get_object().
`get_interface` |
    GDBusInterface* (* get_interface) (
        GDBusObjectManager* manager,
        const gchar* object_path,
        const gchar* interface_name
      )
| Virtual function for g_dbus_object_manager_get_interface().
`object_added` |
    void (* object_added) (
        GDBusObjectManager* manager,
        GDBusObject* object
      )
| Signal handler for the `GDBusObjectManager::object-added` signal.
`object_removed` |
    void (* object_removed) (
        GDBusObjectManager* manager,
        GDBusObject* object
      )
| Signal handler for the `GDBusObjectManager::object-removed` signal.
`interface_added` |
    void (* interface_added) (
        GDBusObjectManager* manager,
        GDBusObject* object,
        GDBusInterface* interface_
      )
| Signal handler for the `GDBusObjectManager::interface-added` signal.
`interface_removed` |
    void (* interface_removed) (
        GDBusObjectManager* manager,
        GDBusObject* object,
        GDBusInterface* interface_
      )
| Signal handler for the `GDBusObjectManager::interface-removed` signal.

#### Virtual methods

###### Gio.DBusObjectManager.get_interface

Gets the interface proxy for `interface_name` at `object_path`, if any.

since: 2.30

###### Gio.DBusObjectManager.get_object

Gets the `GDBusObject` at `object_path`, if any.

since: 2.30

###### Gio.DBusObjectManager.get_object_path

Gets the object path that `manager` is for.

since: 2.30

###### Gio.DBusObjectManager.get_objects

Gets all `GDBusObject` objects known to `manager`.

since: 2.30

###### Gio.DBusObjectManager.interface_added

Signal handler for the `GDBusObjectManager::interface-added` signal.

###### Gio.DBusObjectManager.interface_removed

Signal handler for the `GDBusObjectManager::interface-removed` signal.

###### Gio.DBusObjectManager.object_added

Signal handler for the `GDBusObjectManager::object-added` signal.

###### Gio.DBusObjectManager.object_removed

Signal handler for the `GDBusObjectManager::object-removed` signal.