gem-graph-client/doc/docbook/d7/d06/utilities_8c.xml

98 lines
3.7 KiB
XML

<?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="_utilities_8c" xml:lang="en-US">
<title>src/widget/one_rule/algebra/utilities.c File Reference</title>
<indexterm><primary>src/widget/one_rule/algebra/utilities.c</primary></indexterm>
<para>
<para>Gem-graph-client algebra rules utilities. </para>
</para>
<programlisting linenumbering="unnumbered">#include &quot;../../../../include/fsm.h&quot;<?linebreak?>#include &quot;../../../../include/widget.h&quot;<?linebreak?>#include &quot;../../../../include/signal.h&quot;<?linebreak?>#include &lt;stdio.h&gt;<?linebreak?>#include &lt;stdlib.h&gt;<?linebreak?></programlisting><simplesect>
<title>Macros </title>
<itemizedlist>
<listitem><para><anchor xml:id="_utilities_8c_1aa2b371a8e41e74cbecb17b8ee36bd9a0"/>#define <emphasis role="strong">LIST_W</emphasis>&#160;&#160;&#160;190</para>
<para>arbitrary width for this widget TODO (use actions instead; see notes, below) </para>
</listitem>
<listitem><para><anchor xml:id="_utilities_8c_1af6381825ddcaef499d49dc4bd06aa4d3"/>#define <emphasis role="strong">LIST_H</emphasis>&#160;&#160;&#160;114</para>
<para>arbitrary height for this widget TODO (use actions instead) </para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Functions </title>
<itemizedlist>
<listitem><para>GtkEntry <link linkend="_utilities_8c_1a1c4f1ce489cdc3b4e5a1e86d3438e846">widget_set_item_text</link> (GtkWidget *list_box, const char *text, bool editable)</para>
<para>Format an entry (a text item) in a list. </para>
</listitem>
</itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>
<para>Gem-graph-client algebra rules utilities. </para>
<para>This file is part of Gem-graph. </para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_utilities_8c_1a1c4f1ce489cdc3b4e5a1e86d3438e846"/><section>
<title>widget_set_item_text()</title>
<indexterm><primary>widget_set_item_text</primary><secondary>utilities.c</secondary></indexterm>
<indexterm><primary>utilities.c</primary><secondary>widget_set_item_text</secondary></indexterm>
<para><computeroutput>GtkEntry widget_set_item_text (GtkWidget * list_box, const char * text, bool editable)</computeroutput></para><para>
<para>Format an entry (a text item) in a list. </para>
</para>
<para><formalpara><title>Since</title>
<para>2024-08</para>
</formalpara>
<formalpara><title>See also</title>
<para>src/widget/one_rule/algebra/conditions() </para>
<para>src/widget/one_rule/algebra/assign() </para>
<para>src/widget/one_rule/algebra/identity()</para>
</formalpara>
<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>*list_box</entry><entry>
<para></para>
</entry>
</row>
<row>
<entry>*text</entry><entry>
<para></para>
</entry>
</row>
<row>
<entry>editable</entry><entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
<formalpara><title>Returns</title>
<para>*entry &lt; a text item </para>
</formalpara>
</para>
</section>
</section>
</section>