DBusNodeInfo

constructor(xmlData: String)(source)

Parses @xml_data and returns a #GDBusNodeInfo representing the data.

The introspection XML must contain exactly one top-level <node> element.

Note that this routine is using a glib-Simple-XML-Subset-Parser.description-based parser that only accepts a subset of valid XML documents.

Return

A #GDBusNodeInfo structure or null if @error is set. Free with g_dbus_node_info_unref().

Since

2.26

Parameters

xmlData

Valid D-Bus introspection XML.


constructor()(source)

Allocate a new DBusNodeInfo.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)(source)

Allocate a new DBusNodeInfo using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(refCount: <Error class: unknown class>, path: String?)(source)

Allocate a new DBusNodeInfo.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

refCount

The reference count or -1 if statically allocated.

path

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.


constructor(refCount: <Error class: unknown class>, path: String?, scope: <Error class: unknown class>)(source)

Allocate a new DBusNodeInfo using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

refCount

The reference count or -1 if statically allocated.

path

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.

scope

The AutofreeScope to allocate this structure in.


constructor(gioDBusNodeInfoPointer: <Error class: unknown class><<Error class: unknown class>>)(source)