DBusInterfaceInfo

Information about a D-Bus interface.

Constructors

this
this(GDBusInterfaceInfo* gDBusInterfaceInfo, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

cacheBuild
void cacheBuild()

Builds a lookup-cache to speed up g_dbus_interface_info_lookup_method(), g_dbus_interface_info_lookup_signal() and g_dbus_interface_info_lookup_property().

cacheRelease
void cacheRelease()

Decrements the usage count for the cache for @info built by g_dbus_interface_info_cache_build() (if any) and frees the resources used by the cache if the usage count drops to zero.

doref
DBusInterfaceInfo doref()

If @info is statically allocated does nothing. Otherwise increases the reference count.

generateXml
void generateXml(uint indent, StringG stringBuilder)

Appends an XML representation of @info (and its children) to @string_builder.

getDBusInterfaceInfoStruct
GDBusInterfaceInfo* getDBusInterfaceInfoStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

lookupMethod
DBusMethodInfo lookupMethod(string name)

Looks up information about a method.

lookupProperty
DBusPropertyInfo lookupProperty(string name)

Looks up information about a property.

lookupSignal
DBusSignalInfo lookupSignal(string name)

Looks up information about a signal.

unref
void unref()

If @info is statically allocated, does nothing. Otherwise decreases the reference count of @info. When its reference count drops to 0, the memory used is freed.

Static functions

getType
GType getType()

Variables

gDBusInterfaceInfo
GDBusInterfaceInfo* gDBusInterfaceInfo;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta

Since

2.26