Interface

GioDBusInterface

since: 2.30

Description

interface Gio.DBusInterface : GObject.Object

Base type for D-Bus interfaces.

The GDBusInterface type is the base type for D-Bus interfaces both on the service side (see GDBusInterfaceSkeleton) and client side (see GDBusProxy).

Available since: 2.30

Prerequisite

In order to implement DBusInterface, your type must inherit fromGObject.

Instance methods

g_dbus_interface_dup_object

Gets the GDBusObject that interface_ belongs to, if any.

since: 2.32

g_dbus_interface_get_info

Gets D-Bus introspection information for the D-Bus interface implemented by interface_.

since: 2.30

g_dbus_interface_get_object

Gets the GDBusObject that interface_ belongs to, if any.

since: 2.30

g_dbus_interface_set_object

Sets the GDBusObject for interface_ to object.

since: 2.30

Interface structure

struct GioDBusInterfaceIface {
  GTypeInterface parent_iface;
  GDBusInterfaceInfo* (* get_info) (
    GDBusInterface* interface_
  );
  GDBusObject* (* get_object) (
    GDBusInterface* interface_
  );
  void (* set_object) (
    GDBusInterface* interface_,
    GDBusObject* object
  );
  GDBusObject* (* dup_object) (
    GDBusInterface* interface_
  );
  
}

Base type for D-Bus interfaces.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

get_info
GDBusInterfaceInfo* (* get_info) (
    GDBusInterface* interface_
  )
 No description available.
get_object
GDBusObject* (* get_object) (
    GDBusInterface* interface_
  )
 No description available.
set_object
void (* set_object) (
    GDBusInterface* interface_,
    GDBusObject* object
  )
 No description available.
dup_object
GDBusObject* (* dup_object) (
    GDBusInterface* interface_
  )
 No description available.

Virtual methods

Gio.DBusInterface.dup_object

Gets the GDBusObject that interface_ belongs to, if any.

since: 2.32

Gio.DBusInterface.get_info

Gets D-Bus introspection information for the D-Bus interface implemented by interface_.

since: 2.30

Gio.DBusInterface.get_object

Gets the GDBusObject that interface_ belongs to, if any.

since: 2.30

Gio.DBusInterface.set_object

Sets the GDBusObject for interface_ to object.

since: 2.30