DBusObjectT

The GDBusObject type is the base type for D-Bus objects on both the service side (see GDBusObjectSkeleton) and the client side (see GDBusObjectProxy). It is essentially just a container of interfaces.

Members

Functions

addOnInterfaceAdded
void addOnInterfaceAdded(void delegate(DBusInterfaceIF, DBusObjectIF) dlg, ConnectFlags connectFlags)

Emitted when interface is added to object. Since 2.30

addOnInterfaceRemoved
void addOnInterfaceRemoved(void delegate(DBusInterfaceIF, DBusObjectIF) dlg, ConnectFlags connectFlags)

Emitted when interface is removed from object. Since 2.30

gDbusObjectGetInterface
DBusInterfaceIF gDbusObjectGetInterface(string interfaceName)

Gets the D-Bus interface with name interface_name associated with object, if any. Since 2.30 Signal Details The "interface-added" signal void user_function (GDBusObject *object, GDBusInterface *interface, gpointer user_data) : Run Last Emitted when interface is added to object. Since 2.30

gDbusObjectGetInterfaces
ListG gDbusObjectGetInterfaces()

Gets the D-Bus interfaces associated with object. Since 2.30

gDbusObjectGetObjectPath
string gDbusObjectGetObjectPath()

Gets the object path for object. Since 2.30

getDBusObjectTStruct
GDBusObject* getDBusObjectTStruct()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

onInterfaceAddedListeners
void delegate(DBusInterfaceIF, DBusObjectIF)[] onInterfaceAddedListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
onInterfaceRemovedListeners
void delegate(DBusInterfaceIF, DBusObjectIF)[] onInterfaceRemovedListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

callBackInterfaceAdded
void callBackInterfaceAdded(GDBusObject* objectStruct, GDBusInterface* iface, DBusObjectIF _dBusObjectIF)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackInterfaceRemoved
void callBackInterfaceRemoved(GDBusObject* objectStruct, GDBusInterface* iface, DBusObjectIF _dBusObjectIF)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_onInterfaceAddedListeners
void delegate(DBusInterfaceIF, DBusObjectIF)[] _onInterfaceAddedListeners;
Undocumented in source.
_onInterfaceRemovedListeners
void delegate(DBusInterfaceIF, DBusObjectIF)[] _onInterfaceRemovedListeners;
Undocumented in source.
connectedSignals
int[string] connectedSignals;
gDBusObject
GDBusObject* gDBusObject;

the main Gtk struct

Meta