DBusNodeInfo

Information about nodes in a remote object hierarchy.

Constructors

this
this(GDBusNodeInfo* gDBusNodeInfo, bool ownedRef)

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

this
this(string xmlData)

Parses xml_data and returns a gio.DBusNodeInfo representing the data.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

generateXml
void generateXml(uint indent, StringG stringBuilder)

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

getDBusNodeInfoStruct
GDBusNodeInfo* getDBusNodeInfoStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

lookupInterface
DBusInterfaceInfo lookupInterface(string name)

Looks up information about an interface.

ref_
DBusNodeInfo ref_()

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

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.

Properties

annotations
DBusAnnotationInfo[] annotations [@property getter]
DBusAnnotationInfo[] annotations [@property setter]

A pointer to a NULL-terminated array of pointers to gio.DBusAnnotationInfo structures or NULL if there are no annotations.

interfaces
DBusInterfaceInfo[] interfaces [@property getter]
DBusInterfaceInfo[] interfaces [@property setter]

A pointer to a NULL-terminated array of pointers to gio.DBusInterfaceInfo structures or NULL if there are no interfaces.

nodes
DBusNodeInfo[] nodes [@property getter]
DBusNodeInfo[] nodes [@property setter]

A pointer to a NULL-terminated array of pointers to gio.DBusNodeInfo structures or NULL if there are no nodes.

path
string path [@property getter]
string path [@property setter]

The path of the node or NULL if omitted. Note that this may be a relative path. See the D-Bus specification for more details.

refCount
int refCount [@property getter]
int refCount [@property setter]

The reference count or -1 if statically allocated.

Static functions

getType
GType getType()

Variables

gDBusNodeInfo
GDBusNodeInfo* gDBusNodeInfo;

the main Gtk struct

Meta

Since

2.26