| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 |
<title>garcon-menu-item-pool: garcon Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="garcon Reference Manual"> |
| 8 |
<link rel="up" href="garcon-menus.html" title="Part II. Menus and Menu Items"> |
| 9 |
<link rel="prev" href="GarconMenuItemCache.html" title="GarconMenuItemCache"> |
| 10 |
<link rel="next" href="GarconMenuItemAction.html" title="GarconMenuItemAction"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.34.0 (XML mode)"> |
| 12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
| 13 |
</head> |
| 14 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 15 |
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| 16 |
<td width="100%" align="left" class="shortcuts"> |
| 17 |
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| 18 |
<a href="#garcon-garcon-menu-item-pool.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#garcon-garcon-menu-item-pool.object-hierarchy" class="shortcut">Object Hierarchy</a></span> |
| 20 |
</td> |
| 21 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 22 |
<td><a accesskey="u" href="garcon-menus.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 23 |
<td><a accesskey="p" href="GarconMenuItemCache.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 24 |
<td><a accesskey="n" href="GarconMenuItemAction.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 25 |
</tr></table> |
| 26 |
<div class="refentry"> |
| 27 |
<a name="garcon-garcon-menu-item-pool"></a><div class="titlepage"></div> |
| 28 |
<div class="refnamediv"><table width="100%"><tr> |
| 29 |
<td valign="top"> |
| 30 |
<h2><span class="refentrytitle"><a name="garcon-garcon-menu-item-pool.top_of_page"></a>garcon-menu-item-pool</span></h2> |
| 31 |
<p>garcon-menu-item-pool</p> |
| 32 |
</td> |
| 33 |
<td class="gallery_image" valign="top" align="right"></td> |
| 34 |
</tr></table></div> |
| 35 |
<div class="refsect1"> |
| 36 |
<a name="garcon-garcon-menu-item-pool.functions"></a><h2>Functions</h2> |
| 37 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 38 |
<colgroup> |
| 39 |
<col width="150px" class="functions_proto_type"> |
| 40 |
<col class="functions_proto_name"> |
| 41 |
</colgroup> |
| 42 |
<tbody> |
| 43 |
<tr> |
| 44 |
<td class="function_type"> |
| 45 |
<a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="returnvalue">GarconMenuItemPool</span></a> * |
| 46 |
</td> |
| 47 |
<td class="function_name"> |
| 48 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-new" title="garcon_menu_item_pool_new ()">garcon_menu_item_pool_new</a> <span class="c_punctuation">()</span> |
| 49 |
</td> |
| 50 |
</tr> |
| 51 |
<tr> |
| 52 |
<td class="function_type"> |
| 53 |
<span class="returnvalue">void</span> |
| 54 |
</td> |
| 55 |
<td class="function_name"> |
| 56 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-insert" title="garcon_menu_item_pool_insert ()">garcon_menu_item_pool_insert</a> <span class="c_punctuation">()</span> |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
<tr> |
| 60 |
<td class="function_type"> |
| 61 |
<a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 62 |
</td> |
| 63 |
<td class="function_name"> |
| 64 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-lookup" title="garcon_menu_item_pool_lookup ()">garcon_menu_item_pool_lookup</a> <span class="c_punctuation">()</span> |
| 65 |
</td> |
| 66 |
</tr> |
| 67 |
<tr> |
| 68 |
<td class="function_type"> |
| 69 |
<a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 70 |
</td> |
| 71 |
<td class="function_name"> |
| 72 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-lookup-file" title="garcon_menu_item_pool_lookup_file ()">garcon_menu_item_pool_lookup_file</a> <span class="c_punctuation">()</span> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<td class="function_type"> |
| 77 |
<span class="returnvalue">void</span> |
| 78 |
</td> |
| 79 |
<td class="function_name"> |
| 80 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-foreach" title="garcon_menu_item_pool_foreach ()">garcon_menu_item_pool_foreach</a> <span class="c_punctuation">()</span> |
| 81 |
</td> |
| 82 |
</tr> |
| 83 |
<tr> |
| 84 |
<td class="function_type"> |
| 85 |
<span class="returnvalue">void</span> |
| 86 |
</td> |
| 87 |
<td class="function_name"> |
| 88 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-apply-exclude-rule" title="garcon_menu_item_pool_apply_exclude_rule ()">garcon_menu_item_pool_apply_exclude_rule</a> <span class="c_punctuation">()</span> |
| 89 |
</td> |
| 90 |
</tr> |
| 91 |
<tr> |
| 92 |
<td class="function_type"> |
| 93 |
<span class="returnvalue">gboolean</span> |
| 94 |
</td> |
| 95 |
<td class="function_name"> |
| 96 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-get-empty" title="garcon_menu_item_pool_get_empty ()">garcon_menu_item_pool_get_empty</a> <span class="c_punctuation">()</span> |
| 97 |
</td> |
| 98 |
</tr> |
| 99 |
<tr> |
| 100 |
<td class="function_type"> |
| 101 |
<span class="returnvalue">void</span> |
| 102 |
</td> |
| 103 |
<td class="function_name"> |
| 104 |
<a class="link" href="garcon-garcon-menu-item-pool.html#garcon-menu-item-pool-clear" title="garcon_menu_item_pool_clear ()">garcon_menu_item_pool_clear</a> <span class="c_punctuation">()</span> |
| 105 |
</td> |
| 106 |
</tr> |
| 107 |
</tbody> |
| 108 |
</table></div> |
| 109 |
</div> |
| 110 |
<a name="GarconMenuItemPool"></a><div class="refsect1"> |
| 111 |
<a name="garcon-garcon-menu-item-pool.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 112 |
<pre class="screen"> GObject |
| 113 |
<span class="lineart">╰──</span> GarconMenuItemPool |
| 114 |
</pre> |
| 115 |
</div> |
| 116 |
<div class="refsect1"> |
| 117 |
<a name="garcon-garcon-menu-item-pool.description"></a><h2>Description</h2> |
| 118 |
</div> |
| 119 |
<div class="refsect1"> |
| 120 |
<a name="garcon-garcon-menu-item-pool.functions_details"></a><h2>Functions</h2> |
| 121 |
<div class="refsect2"> |
| 122 |
<a name="garcon-menu-item-pool-new"></a><h3>garcon_menu_item_pool_new ()</h3> |
| 123 |
<pre class="programlisting"><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="returnvalue">GarconMenuItemPool</span></a> * |
| 124 |
garcon_menu_item_pool_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 125 |
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p> |
| 126 |
<div class="refsect3"> |
| 127 |
<a name="garcon-menu-item-pool-new.returns"></a><h4>Returns</h4> |
| 128 |
<p>a <a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a>. </p> |
| 129 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> |
| 130 |
</div> |
| 131 |
</div> |
| 132 |
<hr> |
| 133 |
<div class="refsect2"> |
| 134 |
<a name="garcon-menu-item-pool-insert"></a><h3>garcon_menu_item_pool_insert ()</h3> |
| 135 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 136 |
garcon_menu_item_pool_insert (<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>, |
| 137 |
<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 138 |
<div class="refsect3"> |
| 139 |
<a name="garcon-menu-item-pool-insert.parameters"></a><h4>Parameters</h4> |
| 140 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 141 |
<colgroup> |
| 142 |
<col width="150px" class="parameters_name"> |
| 143 |
<col class="parameters_description"> |
| 144 |
<col width="200px" class="parameters_annotations"> |
| 145 |
</colgroup> |
| 146 |
<tbody> |
| 147 |
<tr> |
| 148 |
<td class="parameter_name"><p>pool</p></td> |
| 149 |
<td class="parameter_description"><p>a <a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a></p></td> |
| 150 |
<td class="parameter_annotations"> </td> |
| 151 |
</tr> |
| 152 |
<tr> |
| 153 |
<td class="parameter_name"><p>item</p></td> |
| 154 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 155 |
<td class="parameter_annotations"> </td> |
| 156 |
</tr> |
| 157 |
</tbody> |
| 158 |
</table></div> |
| 159 |
</div> |
| 160 |
</div> |
| 161 |
<hr> |
| 162 |
<div class="refsect2"> |
| 163 |
<a name="garcon-menu-item-pool-lookup"></a><h3>garcon_menu_item_pool_lookup ()</h3> |
| 164 |
<pre class="programlisting"><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 165 |
garcon_menu_item_pool_lookup (<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>, |
| 166 |
<em class="parameter"><code>const <span class="type">gchar</span> *desktop_id</code></em>);</pre> |
| 167 |
<div class="refsect3"> |
| 168 |
<a name="garcon-menu-item-pool-lookup.parameters"></a><h4>Parameters</h4> |
| 169 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 170 |
<colgroup> |
| 171 |
<col width="150px" class="parameters_name"> |
| 172 |
<col class="parameters_description"> |
| 173 |
<col width="200px" class="parameters_annotations"> |
| 174 |
</colgroup> |
| 175 |
<tbody> |
| 176 |
<tr> |
| 177 |
<td class="parameter_name"><p>pool</p></td> |
| 178 |
<td class="parameter_description"><p>a <a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a></p></td> |
| 179 |
<td class="parameter_annotations"> </td> |
| 180 |
</tr> |
| 181 |
<tr> |
| 182 |
<td class="parameter_name"><p>desktop_id</p></td> |
| 183 |
<td class="parameter_description"><p>.desktop file. </p></td> |
| 184 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td> |
| 185 |
</tr> |
| 186 |
</tbody> |
| 187 |
</table></div> |
| 188 |
</div> |
| 189 |
<div class="refsect3"> |
| 190 |
<a name="garcon-menu-item-pool-lookup.returns"></a><h4>Returns</h4> |
| 191 |
<p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> object. </p> |
| 192 |
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 193 |
</div> |
| 194 |
</div> |
| 195 |
<hr> |
| 196 |
<div class="refsect2"> |
| 197 |
<a name="garcon-menu-item-pool-lookup-file"></a><h3>garcon_menu_item_pool_lookup_file ()</h3> |
| 198 |
<pre class="programlisting"><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 199 |
garcon_menu_item_pool_lookup_file (<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>, |
| 200 |
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);</pre> |
| 201 |
<div class="refsect3"> |
| 202 |
<a name="garcon-menu-item-pool-lookup-file.parameters"></a><h4>Parameters</h4> |
| 203 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 204 |
<colgroup> |
| 205 |
<col width="150px" class="parameters_name"> |
| 206 |
<col class="parameters_description"> |
| 207 |
<col width="200px" class="parameters_annotations"> |
| 208 |
</colgroup> |
| 209 |
<tbody> |
| 210 |
<tr> |
| 211 |
<td class="parameter_name"><p>pool</p></td> |
| 212 |
<td class="parameter_description"><p>a <a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a></p></td> |
| 213 |
<td class="parameter_annotations"> </td> |
| 214 |
</tr> |
| 215 |
<tr> |
| 216 |
<td class="parameter_name"><p>file</p></td> |
| 217 |
<td class="parameter_description"><p>a GFile instance</p></td> |
| 218 |
<td class="parameter_annotations"> </td> |
| 219 |
</tr> |
| 220 |
</tbody> |
| 221 |
</table></div> |
| 222 |
</div> |
| 223 |
<div class="refsect3"> |
| 224 |
<a name="garcon-menu-item-pool-lookup-file.returns"></a><h4>Returns</h4> |
| 225 |
<p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> object. </p> |
| 226 |
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 227 |
</div> |
| 228 |
</div> |
| 229 |
<hr> |
| 230 |
<div class="refsect2"> |
| 231 |
<a name="garcon-menu-item-pool-foreach"></a><h3>garcon_menu_item_pool_foreach ()</h3> |
| 232 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 233 |
garcon_menu_item_pool_foreach (<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>, |
| 234 |
<em class="parameter"><code><span class="type">GHFunc</span> func</code></em>, |
| 235 |
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> |
| 236 |
<div class="refsect3"> |
| 237 |
<a name="garcon-menu-item-pool-foreach.parameters"></a><h4>Parameters</h4> |
| 238 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 239 |
<colgroup> |
| 240 |
<col width="150px" class="parameters_name"> |
| 241 |
<col class="parameters_description"> |
| 242 |
<col width="200px" class="parameters_annotations"> |
| 243 |
</colgroup> |
| 244 |
<tbody> |
| 245 |
<tr> |
| 246 |
<td class="parameter_name"><p>pool</p></td> |
| 247 |
<td class="parameter_description"><p>a <a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a></p></td> |
| 248 |
<td class="parameter_annotations"> </td> |
| 249 |
</tr> |
| 250 |
<tr> |
| 251 |
<td class="parameter_name"><p>func</p></td> |
| 252 |
<td class="parameter_description"><p>. </p></td> |
| 253 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td> |
| 254 |
</tr> |
| 255 |
<tr> |
| 256 |
<td class="parameter_name"><p>user_data</p></td> |
| 257 |
<td class="parameter_description"><p>user data passed to <em class="parameter"><code>func</code></em> |
| 258 |
callback</p></td> |
| 259 |
<td class="parameter_annotations"> </td> |
| 260 |
</tr> |
| 261 |
</tbody> |
| 262 |
</table></div> |
| 263 |
</div> |
| 264 |
</div> |
| 265 |
<hr> |
| 266 |
<div class="refsect2"> |
| 267 |
<a name="garcon-menu-item-pool-apply-exclude-rule"></a><h3>garcon_menu_item_pool_apply_exclude_rule ()</h3> |
| 268 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 269 |
garcon_menu_item_pool_apply_exclude_rule |
| 270 |
(<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>, |
| 271 |
<em class="parameter"><code><span class="type">GNode</span> *node</code></em>);</pre> |
| 272 |
</div> |
| 273 |
<hr> |
| 274 |
<div class="refsect2"> |
| 275 |
<a name="garcon-menu-item-pool-get-empty"></a><h3>garcon_menu_item_pool_get_empty ()</h3> |
| 276 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 277 |
garcon_menu_item_pool_get_empty (<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>);</pre> |
| 278 |
</div> |
| 279 |
<hr> |
| 280 |
<div class="refsect2"> |
| 281 |
<a name="garcon-menu-item-pool-clear"></a><h3>garcon_menu_item_pool_clear ()</h3> |
| 282 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 283 |
garcon_menu_item_pool_clear (<em class="parameter"><code><a class="link" href="garcon-garcon-menu-item-pool.html#GarconMenuItemPool"><span class="type">GarconMenuItemPool</span></a> *pool</code></em>);</pre> |
| 284 |
</div> |
| 285 |
</div> |
| 286 |
</div> |
| 287 |
<div class="footer"> |
| 288 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 289 |
</body> |
| 290 |
</html> |