<link rel="up" href="glib-data-types.html" title="GLib Data Types">
<link rel="prev" href="glib-Balanced-Binary-Trees.html" title="Balanced Binary Trees">
<link rel="next" href="glib-Quarks.html" title="Quarks">
-<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<p>Creates a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> containing the given data.
Used to create the first node in a tree.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.2.5"></a><h4>Parameters</h4>
+<a name="g-node-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.2.6"></a><h4>Returns</h4>
+<a name="g-node-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<p>Recursively copies a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> (but does not deep-copy the data inside the
nodes, see <a class="link" href="glib-N-ary-Trees.html#g-node-copy-deep" title="g_node_copy_deep ()"><code class="function">g_node_copy_deep()</code></a> if you need that).</p>
<div class="refsect3">
-<a name="id-1.6.14.7.3.5"></a><h4>Parameters</h4>
+<a name="g-node-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.3.6"></a><h4>Returns</h4>
+<a name="g-node-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> containing the same data pointers</p>
</div>
</div>
<p>A function of this signature is used to copy the node data
when doing a deep-copy of a tree.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.4.5"></a><h4>Parameters</h4>
+<a name="GCopyFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p> A pointer to the data which should be copied. </p></td>
-<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
+<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.4.6"></a><h4>Returns</h4>
+<a name="GCopyFunc.returns"></a><h4>Returns</h4>
<p> A pointer to the copy. </p>
-<p><span class="annotation">[not nullable]</span></p>
+<p><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>Recursively copies a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> and its data.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.5.5"></a><h4>Parameters</h4>
+<a name="g-node-copy-deep.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.5.6"></a><h4>Returns</h4>
+<a name="g-node-copy-deep.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> containing copies of the data in <em class="parameter"><code>node</code></em>
.</p>
</div>
<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Inserts a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> beneath the parent at the given position.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.6.5"></a><h4>Parameters</h4>
+<a name="g-node-insert.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.6.6"></a><h4>Returns</h4>
+<a name="g-node-insert.returns"></a><h4>Returns</h4>
<p> the inserted <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Inserts a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> beneath the parent before the given sibling.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.7.5"></a><h4>Parameters</h4>
+<a name="g-node-insert-before.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.7.6"></a><h4>Returns</h4>
+<a name="g-node-insert-before.returns"></a><h4>Returns</h4>
<p> the inserted <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Inserts a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> beneath the parent after the given sibling.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.8.5"></a><h4>Parameters</h4>
+<a name="g-node-insert-after.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.8.6"></a><h4>Returns</h4>
+<a name="g-node-insert-after.returns"></a><h4>Returns</h4>
<p> the inserted <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<pre class="programlisting">#define g_node_append(parent, node)</pre>
<p>Inserts a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> as the last child of the given parent.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.9.5"></a><h4>Parameters</h4>
+<a name="g-node-append.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.9.6"></a><h4>Returns</h4>
+<a name="g-node-append.returns"></a><h4>Returns</h4>
<p> the inserted <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Inserts a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> as the first child of the given parent.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.10.5"></a><h4>Parameters</h4>
+<a name="g-node-prepend.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.10.6"></a><h4>Returns</h4>
+<a name="g-node-prepend.returns"></a><h4>Returns</h4>
<p> the inserted <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<pre class="programlisting">#define g_node_insert_data(parent, position, data)</pre>
<p>Inserts a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> at the given position.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.11.5"></a><h4>Parameters</h4>
+<a name="g-node-insert-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.11.6"></a><h4>Returns</h4>
+<a name="g-node-insert-data.returns"></a><h4>Returns</h4>
<p> the new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<pre class="programlisting">#define g_node_insert_data_after(parent, sibling, data)</pre>
<p>Inserts a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> after the given sibling.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.12.5"></a><h4>Parameters</h4>
+<a name="g-node-insert-data-after.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.12.6"></a><h4>Returns</h4>
+<a name="g-node-insert-data-after.returns"></a><h4>Returns</h4>
<p> the new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<pre class="programlisting">#define g_node_insert_data_before(parent, sibling, data)</pre>
<p>Inserts a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> before the given sibling.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.13.5"></a><h4>Parameters</h4>
+<a name="g-node-insert-data-before.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.13.6"></a><h4>Returns</h4>
+<a name="g-node-insert-data-before.returns"></a><h4>Returns</h4>
<p> the new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<pre class="programlisting">#define g_node_append_data(parent, data)</pre>
<p>Inserts a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> as the last child of the given parent.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.14.5"></a><h4>Parameters</h4>
+<a name="g-node-append-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.14.6"></a><h4>Returns</h4>
+<a name="g-node-append-data.returns"></a><h4>Returns</h4>
<p> the new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<pre class="programlisting">#define g_node_prepend_data(parent, data)</pre>
<p>Inserts a new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> as the first child of the given parent.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.15.5"></a><h4>Parameters</h4>
+<a name="g-node-prepend-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.15.6"></a><h4>Returns</h4>
+<a name="g-node-prepend-data.returns"></a><h4>Returns</h4>
<p> the new <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<p>Reverses the order of the children of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.
(It doesn't change the order of the grandchildren.)</p>
<div class="refsect3">
-<a name="id-1.6.14.7.16.5"></a><h4>Parameters</h4>
+<a name="g-node-reverse-children.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
The traversal can be halted at any point by returning <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> from <em class="parameter"><code>func</code></em>
.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.17.5"></a><h4>Parameters</h4>
+<a name="g-node-traverse.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
user data passed to <a class="link" href="glib-N-ary-Trees.html#g-node-traverse" title="g_node_traverse ()"><code class="function">g_node_traverse()</code></a>. If the function returns
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, then the traversal is stopped.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.18.5"></a><h4>Parameters</h4>
+<a name="GNodeTraverseFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.18.6"></a><h4>Returns</h4>
+<a name="GNodeTraverseFunc.returns"></a><h4>Returns</h4>
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to stop the traversal.</p>
</div>
</div>
<p>Calls a function for each of the children of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.
Note that it doesn't descend beneath the child nodes.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.19.5"></a><h4>Parameters</h4>
+<a name="g-node-children-foreach.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
The function is called with each child node, together with the user
data passed to <a class="link" href="glib-N-ary-Trees.html#g-node-children-foreach" title="g_node_children_foreach ()"><code class="function">g_node_children_foreach()</code></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.20.5"></a><h4>Parameters</h4>
+<a name="GNodeForeachFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
g_node_get_root (<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Gets the root of a tree.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.21.5"></a><h4>Parameters</h4>
+<a name="g-node-get-root.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.21.6"></a><h4>Returns</h4>
+<a name="g-node-get-root.returns"></a><h4>Returns</h4>
<p> the root of the tree</p>
</div>
</div>
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>Finds a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> in a tree.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.22.5"></a><h4>Parameters</h4>
+<a name="g-node-find.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.22.6"></a><h4>Returns</h4>
+<a name="g-node-find.returns"></a><h4>Returns</h4>
<p> the found <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the data is not found</p>
</div>
</div>
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>Finds the first child of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> with the given data.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.23.5"></a><h4>Parameters</h4>
+<a name="g-node-find-child.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.23.6"></a><h4>Returns</h4>
+<a name="g-node-find-child.returns"></a><h4>Returns</h4>
<p> the found child <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the data is not found</p>
</div>
</div>
<p>Gets the position of the first child of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>
which contains the given data.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.24.5"></a><h4>Parameters</h4>
+<a name="g-node-child-index.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.24.6"></a><h4>Returns</h4>
+<a name="g-node-child-index.returns"></a><h4>Returns</h4>
<p> the index of the child of <em class="parameter"><code>node</code></em>
which contains
<em class="parameter"><code>data</code></em>
. The first child is numbered 0,
the second 1, and so on.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.25.5"></a><h4>Parameters</h4>
+<a name="g-node-child-position.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.25.6"></a><h4>Returns</h4>
+<a name="g-node-child-position.returns"></a><h4>Returns</h4>
<p> the position of <em class="parameter"><code>child</code></em>
with respect to its siblings</p>
</div>
<pre class="programlisting">#define g_node_first_child(node)</pre>
<p>Gets the first child of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.26.5"></a><h4>Parameters</h4>
+<a name="g-node-first-child.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.26.6"></a><h4>Returns</h4>
+<a name="g-node-first-child.returns"></a><h4>Returns</h4>
<p> the first child of <em class="parameter"><code>node</code></em>
, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if <em class="parameter"><code>node</code></em>
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
g_node_last_child (<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Gets the last child of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.27.5"></a><h4>Parameters</h4>
+<a name="g-node-last-child.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.27.6"></a><h4>Returns</h4>
+<a name="g-node-last-child.returns"></a><h4>Returns</h4>
<p> the last child of <em class="parameter"><code>node</code></em>
, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if <em class="parameter"><code>node</code></em>
has no children</p>
The first child is at index 0. If the index is
too big, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.28.5"></a><h4>Parameters</h4>
+<a name="g-node-nth-child.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.28.6"></a><h4>Returns</h4>
+<a name="g-node-nth-child.returns"></a><h4>Returns</h4>
<p> the child of <em class="parameter"><code>node</code></em>
at index <em class="parameter"><code>n</code></em>
</p>
<p>Gets the first sibling of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.
This could possibly be the node itself.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.29.5"></a><h4>Parameters</h4>
+<a name="g-node-first-sibling.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.29.6"></a><h4>Returns</h4>
+<a name="g-node-first-sibling.returns"></a><h4>Returns</h4>
<p> the first sibling of <em class="parameter"><code>node</code></em>
</p>
</div>
<pre class="programlisting">#define g_node_next_sibling(node)</pre>
<p>Gets the next sibling of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.30.5"></a><h4>Parameters</h4>
+<a name="g-node-next-sibling.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.30.6"></a><h4>Returns</h4>
+<a name="g-node-next-sibling.returns"></a><h4>Returns</h4>
<p> the next sibling of <em class="parameter"><code>node</code></em>
, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if <em class="parameter"><code>node</code></em>
is the last node
<pre class="programlisting">#define g_node_prev_sibling(node)</pre>
<p>Gets the previous sibling of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.31.5"></a><h4>Parameters</h4>
+<a name="g-node-prev-sibling.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.31.6"></a><h4>Returns</h4>
+<a name="g-node-prev-sibling.returns"></a><h4>Returns</h4>
<p> the previous sibling of <em class="parameter"><code>node</code></em>
, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if <em class="parameter"><code>node</code></em>
is the first
<p>Gets the last sibling of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.
This could possibly be the node itself.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.32.5"></a><h4>Parameters</h4>
+<a name="g-node-last-sibling.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.32.6"></a><h4>Returns</h4>
+<a name="g-node-last-sibling.returns"></a><h4>Returns</h4>
<p> the last sibling of <em class="parameter"><code>node</code></em>
</p>
</div>
</pre>
<p>Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> is a leaf node.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.33.5"></a><h4>Parameters</h4>
+<a name="G-NODE-IS-LEAF.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.33.6"></a><h4>Returns</h4>
+<a name="G-NODE-IS-LEAF.returns"></a><h4>Returns</h4>
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> is a leaf node
(i.e. it has no children)</p>
</div>
<pre class="programlisting">#define G_NODE_IS_ROOT(node)</pre>
<p>Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> is the root of a tree.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.34.5"></a><h4>Parameters</h4>
+<a name="G-NODE-IS-ROOT.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.34.6"></a><h4>Returns</h4>
+<a name="G-NODE-IS-ROOT.returns"></a><h4>Returns</h4>
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> is the root of a tree
(i.e. it has no parent or siblings)</p>
</div>
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> the depth is 0. The root node has a depth of 1.
For the children of the root node the depth is 2. And so on.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.35.6"></a><h4>Parameters</h4>
+<a name="g-node-depth.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.35.7"></a><h4>Returns</h4>
+<a name="g-node-depth.returns"></a><h4>Returns</h4>
<p> the depth of the <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a></p>
</div>
</div>
<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GTraverseFlags" title="enum GTraverseFlags"><span class="type">GTraverseFlags</span></a> flags</code></em>);</pre>
<p>Gets the number of nodes in a tree.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.36.5"></a><h4>Parameters</h4>
+<a name="g-node-n-nodes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.36.6"></a><h4>Returns</h4>
+<a name="g-node-n-nodes.returns"></a><h4>Returns</h4>
<p> the number of nodes in the tree</p>
</div>
</div>
g_node_n_children (<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Gets the number of children of a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.37.5"></a><h4>Parameters</h4>
+<a name="g-node-n-children.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.37.6"></a><h4>Returns</h4>
+<a name="g-node-n-children.returns"></a><h4>Returns</h4>
<p> the number of children of <em class="parameter"><code>node</code></em>
</p>
</div>
or if node is the grandparent of <em class="parameter"><code>descendant</code></em>
etc.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.38.5"></a><h4>Parameters</h4>
+<a name="g-node-is-ancestor.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.38.6"></a><h4>Returns</h4>
+<a name="g-node-is-ancestor.returns"></a><h4>Returns</h4>
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>node</code></em>
is an ancestor of <em class="parameter"><code>descendant</code></em>
</p>
1 is returned. If <em class="parameter"><code>root</code></em>
has children, 2 is returned. And so on.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.39.6"></a><h4>Parameters</h4>
+<a name="g-node-max-height.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</table></div>
</div>
<div class="refsect3">
-<a name="id-1.6.14.7.39.7"></a><h4>Returns</h4>
+<a name="g-node-max-height.returns"></a><h4>Returns</h4>
<p> the maximum height of the tree beneath <em class="parameter"><code>root</code></em>
</p>
</div>
g_node_unlink (<em class="parameter"><code><a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> *node</code></em>);</pre>
<p>Unlinks a <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> from a tree, resulting in two separate trees.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.40.5"></a><h4>Parameters</h4>
+<a name="g-node-unlink.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
and its children from the tree, freeing any memory
allocated.</p>
<div class="refsect3">
-<a name="id-1.6.14.7.41.5"></a><h4>Parameters</h4>
+<a name="g-node-destroy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
</pre>
<p>The <a class="link" href="glib-N-ary-Trees.html#GNode" title="struct GNode"><span class="type">GNode</span></a> struct represents one node in a <a class="link" href="glib-N-ary-Trees.html" title="N-ary Trees">n-ary tree</a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.8.2.5"></a><h4>Members</h4>
+<a name="GNode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<span class="inlinemediaobject"><img src="Sorted_binary_tree_breadth-first_traversal.svg"></span></p></li>
</ul></div>
<div class="refsect3">
-<a name="id-1.6.14.8.3.5"></a><h4>Members</h4>
+<a name="GTraverseType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<p>Specifies which nodes are visited during several of the tree
functions, including <a class="link" href="glib-N-ary-Trees.html#g-node-traverse" title="g_node_traverse ()"><code class="function">g_node_traverse()</code></a> and <a class="link" href="glib-N-ary-Trees.html#g-node-find" title="g_node_find ()"><code class="function">g_node_find()</code></a>.</p>
<div class="refsect3">
-<a name="id-1.6.14.8.4.4"></a><h4>Members</h4>
+<a name="GTraverseFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
</div>
</div>
<div class="footer">
-<hr>Generated by GTK-Doc V1.24</div>
+<hr>Generated by GTK-Doc V1.25.1</div>
</body>
</html>
\ No newline at end of file