gem-graph-client/doc/html/d7/d06/utilities_8c.html

173 lines
8.7 KiB
HTML
Raw Normal View History

2024-10-20 01:05:12 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Gem-graph: src/widget/main_window/one_rule/algebra/utilities.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="../../logo icon mini.png"/></td>
<td id="projectalign">
<div id="projectname">Gem-graph<span id="projectnumber">&#160;0.1.0</span>
</div>
<div id="projectbrief">A modelling tool based on rewriting of geometric graphs.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_c570470bf3e4213fb57699dd2e921b84.html">widget</a></li><li class="navelem"><a class="el" href="../../dir_4378cb27ffdfc18b738d6615673a7a16.html">main_window</a></li><li class="navelem"><a class="el" href="../../dir_8667849977c2734846655dc647f12661.html">one_rule</a></li><li class="navelem"><a class="el" href="../../dir_68a51ecf4137935c7484c3f9c0526c00.html">algebra</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">utilities.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Gem-graph-client algebra rules utilities.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="../../dd/d01/fsm_8h.html">../../../../../include/fsm.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../df/d05/widget_8h.html">../../../../../include/widget.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d8/d09/signal_8h.html">../../../../../include/signal.h</a>&quot;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aa2b371a8e41e74cbecb17b8ee36bd9a0" id="r_aa2b371a8e41e74cbecb17b8ee36bd9a0"><td class="memItemLeft" align="right" valign="top"><a id="aa2b371a8e41e74cbecb17b8ee36bd9a0" name="aa2b371a8e41e74cbecb17b8ee36bd9a0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LIST_W</b>&#160;&#160;&#160;190</td></tr>
<tr class="memdesc:aa2b371a8e41e74cbecb17b8ee36bd9a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">arbitrary width for gtk_widget_set_size_request (scrolled_list_boxes()) x 3 (use actions instead; see notes, below) TODO <br /></td></tr>
<tr class="separator:aa2b371a8e41e74cbecb17b8ee36bd9a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6381825ddcaef499d49dc4bd06aa4d3" id="r_af6381825ddcaef499d49dc4bd06aa4d3"><td class="memItemLeft" align="right" valign="top"><a id="af6381825ddcaef499d49dc4bd06aa4d3" name="af6381825ddcaef499d49dc4bd06aa4d3"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LIST_H</b>&#160;&#160;&#160;114</td></tr>
<tr class="memdesc:af6381825ddcaef499d49dc4bd06aa4d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">arbitrary height (same) TODO <br /></td></tr>
<tr class="separator:af6381825ddcaef499d49dc4bd06aa4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a1c4f1ce489cdc3b4e5a1e86d3438e846" id="r_a1c4f1ce489cdc3b4e5a1e86d3438e846"><td class="memItemLeft" align="right" valign="top">GtkEntry&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d06/utilities_8c.html#a1c4f1ce489cdc3b4e5a1e86d3438e846">widget_set_item_text</a> (GtkWidget *list_box, const char *text, bool editable)</td></tr>
<tr class="memdesc:a1c4f1ce489cdc3b4e5a1e86d3438e846"><td class="mdescLeft">&#160;</td><td class="mdescRight">Format an entry (a text item) in a list. <br /></td></tr>
<tr class="separator:a1c4f1ce489cdc3b4e5a1e86d3438e846"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Gem-graph-client algebra rules utilities. </p>
<p>This file is part of Gem-graph.</p>
<p>It provides formatting or page layout functions used locally. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a1c4f1ce489cdc3b4e5a1e86d3438e846" name="a1c4f1ce489cdc3b4e5a1e86d3438e846"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c4f1ce489cdc3b4e5a1e86d3438e846">&#9670;&#160;</a></span>widget_set_item_text()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkEntry widget_set_item_text </td>
<td>(</td>
<td class="paramtype">GtkWidget *&#160;</td>
<td class="paramname"><em>list_box</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>editable</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Format an entry (a text item) in a list. </p>
<dl class="section since"><dt>Since</dt><dd>2024-08</dd></dl>
<dl class="section see"><dt>See also</dt><dd>src/widget/one_rule/algebra/conditions() </dd>
<dd>
src/widget/one_rule/algebra/assign() </dd>
<dd>
src/widget/one_rule/algebra/identity()</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">*list_box</td><td></td></tr>
<tr><td class="paramname">*text</td><td></td></tr>
<tr><td class="paramname">editable</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>*entry &lt; a text item </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>