2024-10-20 23:03:17 +02:00
|
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
|
|
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_util_2tree_8c" xml:lang="en-US">
|
|
|
|
<title>src/util/tree.c File Reference</title>
|
|
|
|
<indexterm><primary>src/util/tree.c</primary></indexterm>
|
|
|
|
<para>
|
|
|
|
|
2024-10-22 23:58:04 +02:00
|
|
|
<para>tree functions </para>
|
2024-10-20 23:03:17 +02:00
|
|
|
|
|
|
|
</para>
|
2024-10-25 22:12:02 +02:00
|
|
|
<programlisting linenumbering="unnumbered">#include "../../include/fsm.h"<?linebreak?>#include "../../include/signal.h"<?linebreak?>#include "../../include/widget.h"<?linebreak?></programlisting>Include dependency graph for tree.c:<para>
|
|
|
|
<informalfigure>
|
|
|
|
<mediaobject>
|
|
|
|
<imageobject>
|
|
|
|
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="../../d7/d0d/util_2tree_8c__incl.png"></imagedata>
|
|
|
|
</imageobject>
|
|
|
|
</mediaobject>
|
|
|
|
</informalfigure>
|
|
|
|
</para>
|
|
|
|
<simplesect>
|
2024-10-20 23:03:17 +02:00
|
|
|
<title>Macros </title>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><anchor xml:id="_util_2tree_8c_1a3a70da499d76caa9ab8e553c0b6793a9"/>#define <emphasis role="strong">LIST_VS_TREE</emphasis>   0</para>
|
|
|
|
|
|
|
|
<para>0 list 1 tree <?linebreak?> </para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</simplesect>
|
|
|
|
<simplesect>
|
|
|
|
<title>Functions </title>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para>void <link linkend="_util_2tree_8c_1a95c04d702f36a7422a9e14eaf456ed3e">widget_add_tree_child_node</link> (struct <link linkend="_structTreeNode__t">TreeNode_t</link> *parent, struct <link linkend="_structTreeNode__t">TreeNode_t</link> *child)</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem><para>struct <link linkend="_structTreeNode__t">TreeNode_t</link> * <link linkend="_util_2tree_8c_1a82852f17d5f914c6cfb35b892766ab1e">widget_create_user_rules_tree_node</link> (const gchar *text)</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem><para>void * <link linkend="_util_2tree_8c_1af968daedf9ce1bd06c674c69ef793201">widget_get_user_rules_tree</link> ()</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</simplesect>
|
|
|
|
<section>
|
|
|
|
<title>Detailed Description</title>
|
|
|
|
|
2024-10-22 23:58:04 +02:00
|
|
|
<para>tree functions </para>
|
2024-10-20 23:03:17 +02:00
|
|
|
|
|
|
|
<para>This file is part of Gem-graph. </para>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<title>Function Documentation</title>
|
|
|
|
<anchor xml:id="_util_2tree_8c_1a95c04d702f36a7422a9e14eaf456ed3e"/><section>
|
|
|
|
<title>widget_add_tree_child_node()</title>
|
|
|
|
<indexterm><primary>widget_add_tree_child_node</primary><secondary>tree.c</secondary></indexterm>
|
|
|
|
<indexterm><primary>tree.c</primary><secondary>widget_add_tree_child_node</secondary></indexterm>
|
|
|
|
<para><computeroutput>void widget_add_tree_child_node (struct <link linkend="_structTreeNode__t">TreeNode_t</link> * parent, struct <link linkend="_structTreeNode__t">TreeNode_t</link> * child)</computeroutput></para>
|
|
|
|
<para>
|
|
|
|
<formalpara>
|
|
|
|
<title>
|
|
|
|
Parameters</title>
|
|
|
|
<para>
|
|
|
|
<table frame="all">
|
|
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
|
|
<colspec colwidth="1*"/>
|
|
|
|
<colspec colwidth="4*"/>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
|
|
|
<entry>*parent</entry><entry>
|
|
|
|
<para></para>
|
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>*child</entry><entry>
|
|
|
|
<para></para>
|
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</table>
|
|
|
|
</para>
|
|
|
|
</formalpara>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<anchor xml:id="_util_2tree_8c_1a82852f17d5f914c6cfb35b892766ab1e"/><section>
|
|
|
|
<title>widget_create_user_rules_tree_node()</title>
|
|
|
|
<indexterm><primary>widget_create_user_rules_tree_node</primary><secondary>tree.c</secondary></indexterm>
|
|
|
|
<indexterm><primary>tree.c</primary><secondary>widget_create_user_rules_tree_node</secondary></indexterm>
|
|
|
|
<para><computeroutput>struct <link linkend="_structTreeNode__t">TreeNode_t</link> * widget_create_user_rules_tree_node (const gchar * text)</computeroutput></para>
|
|
|
|
<para>
|
|
|
|
<formalpara>
|
|
|
|
<title>
|
|
|
|
Parameters</title>
|
|
|
|
<para>
|
|
|
|
<table frame="all">
|
|
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
|
|
<colspec colwidth="1*"/>
|
|
|
|
<colspec colwidth="4*"/>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
|
|
|
<entry>*text</entry><entry></entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</table>
|
|
|
|
</para>
|
|
|
|
</formalpara>
|
|
|
|
<formalpara><title>Returns</title>
|
|
|
|
|
|
|
|
<para><link linkend="_structTreeNode__t">TreeNode_t</link> </para>
|
|
|
|
</formalpara>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<anchor xml:id="_util_2tree_8c_1af968daedf9ce1bd06c674c69ef793201"/><section>
|
|
|
|
<title>widget_get_user_rules_tree()</title>
|
|
|
|
<indexterm><primary>widget_get_user_rules_tree</primary><secondary>tree.c</secondary></indexterm>
|
|
|
|
<indexterm><primary>tree.c</primary><secondary>widget_get_user_rules_tree</secondary></indexterm>
|
|
|
|
<para><computeroutput>void * widget_get_user_rules_tree ( )</computeroutput></para>
|
|
|
|
<para><formalpara><title>Returns</title>
|
|
|
|
|
|
|
|
<para>scrolled_window </para>
|
|
|
|
</formalpara>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</section>
|