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 fromGObject
.
Instance methods
g_dbus_object_manager_get_interface
Gets the interface proxy for interface_name
at object_path
, if any.
since: 2.30
Signals
Gio.DBusObjectManager::interface-removed
Emitted when interface
has been removed from object
.
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 |
|
The parent interface. |
|
get_object_path |
|
Virtual function for g_dbus_object_manager_get_object_path(). |
|
get_objects |
|
Virtual function for g_dbus_object_manager_get_objects(). |
|
get_object |
|
Virtual function for g_dbus_object_manager_get_object(). |
|
get_interface |
|
Virtual function for g_dbus_object_manager_get_interface(). |
|
object_added |
|
Signal handler for the |
|
object_removed |
|
Signal handler for the |
|
interface_added |
|
Signal handler for the |
|
interface_removed |
|
Signal handler for the |
Virtual methods
Gio.DBusObjectManager.get_interface
Gets the interface proxy for interface_name
at object_path
, if any.
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_removed
Signal handler for the GDBusObjectManager::object-removed
signal.