Gio.DBusNodeInfo¶
record (struct)
Information about nodes in a remote object hierarchy.
Constructors¶
new_for_xml¶
Parses xml_data and returns a DBusNodeInfo representing the data.
The introspection XML must contain exactly one top-level
<node> element.
Note that this routine is using a GMarkup-based parser that only accepts a subset of valid XML documents.
Parameters:
xml_data— Valid D-Bus introspection XML.
Methods¶
generate_xml¶
Appends an XML representation of info (and its children) to string_builder.
This function is typically used for generating introspection XML documents at run-time for
handling the org.freedesktop.DBus.Introspectable.Introspect method.
Parameters:
indent— Indentation level.string_builder— AGLib.Stringto to append XML data to.
lookup_interface¶
Looks up information about an interface.
The cost of this function is O(n) in number of interfaces.
Parameters:
name— A D-Bus interface name.
ref¶
If info is statically allocated does nothing. Otherwise increases
the reference count.
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.