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

114 lines
4.4 KiB
XML
Raw Normal View History

<?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">
2024-10-20 01:05:12 +02:00
<title>src/widget/main_window/one_rule/algebra/utilities.c File Reference</title>
<indexterm><primary>src/widget/main_window/one_rule/algebra/utilities.c</primary></indexterm>
<para>
<para>Gem-graph-client algebra rules utilities. </para>
</para>
2024-10-25 22:12:02 +02:00
<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>Include dependency graph for utilities.c:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="../../d0/d06/utilities_8c__incl.svg"></imagedata>
2024-10-25 22:12:02 +02:00
</imageobject>
</mediaobject>
</informalfigure>
</para>
<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 gtk_widget_set_size_request (scrolled_list_boxes()) x 3 (use actions instead; see notes, below) TODO </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 (same) TODO </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>
</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>
<para>It provides formatting or page layout functions used locally. </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>
2024-10-25 17:32:30 +02:00
<para><computeroutput>GtkEntry widget_set_item_text (GtkWidget * list_box, const char * text, bool editable)</computeroutput></para>
<para>Format an entry (a text item) in a list.</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>
2024-10-25 22:12:02 +02:00
Here is the caller graph for this function:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="../../d7/d06/utilities_8c_a1c4f1ce489cdc3b4e5a1e86d3438e846_icgraph.svg"></imagedata>
2024-10-25 22:12:02 +02:00
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
</section>
</section>