Interface
GioDBusObject
Prerequisite
In order to implement DBusObject, your type must inherit from
GObject
.
Instance methods
g_dbus_object_get_interface
Gets the D-Bus interface with name interface_name
associated with
object
, if any.
Available since: 2.30
g_dbus_object_get_interfaces
Gets the D-Bus interfaces associated with object
.
Available since: 2.30
Signals
Gio.DBusObject::interface-removed
Emitted when interface
is removed from object
.
Available since: 2.30
Interface structure
struct GioDBusObjectIface {
GTypeInterface parent_iface;
const gchar* (* get_object_path) (
GDBusObject* object
);
GList* (* get_interfaces) (
GDBusObject* object
);
GDBusInterface* (* get_interface) (
GDBusObject* object,
const gchar* interface_name
);
void (* interface_added) (
GDBusObject* object,
GDBusInterface* interface_
);
void (* interface_removed) (
GDBusObject* object,
GDBusInterface* interface_
);
}
Base object type for D-Bus objects.
Interface members
parent_iface |
|
The parent interface. |
|
get_object_path |
|
No description available. | |
get_interfaces |
|
No description available. | |
get_interface |
|
No description available. | |
interface_added |
|
No description available. | |
interface_removed |
|
No description available. |
Virtual methods
Gio.DBusObject.get_interface
Gets the D-Bus interface with name interface_name
associated with
object
, if any.
Gio.DBusObject.get_interfaces
Gets the D-Bus interfaces associated with object
.
Gio.DBusObject.get_object_path
Gets the object path for object
.
Gio.DBusObject.interface_added
No description available.
Gio.DBusObject.interface_removed
No description available.