| 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>GarconGtkMenu: 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-gtk-menu.html" title="Part IV. Create a complete GtkMenu from a GarconMenu"> |
| 9 |
<link rel="prev" href="garcon-gtk-menu.html" title="Part IV. Create a complete GtkMenu from a GarconMenu"> |
| 10 |
<link rel="next" href="garcon-miscellaneous.html" title="Part V. Miscellaneous"> |
| 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="#GarconGtkMenu.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#GarconGtkMenu.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> |
| 20 |
<a href="#GarconGtkMenu.properties" class="shortcut">Properties</a></span> |
| 21 |
</td> |
| 22 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 23 |
<td><a accesskey="u" href="garcon-gtk-menu.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 24 |
<td><a accesskey="p" href="garcon-gtk-menu.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 25 |
<td><a accesskey="n" href="garcon-miscellaneous.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 26 |
</tr></table> |
| 27 |
<div class="refentry"> |
| 28 |
<a name="GarconGtkMenu"></a><div class="titlepage"></div> |
| 29 |
<div class="refnamediv"><table width="100%"><tr> |
| 30 |
<td valign="top"> |
| 31 |
<h2><span class="refentrytitle"><a name="GarconGtkMenu.top_of_page"></a>GarconGtkMenu</span></h2> |
| 32 |
<p>GarconGtkMenu — Create a GtkMenu for a GarconMenu.</p> |
| 33 |
</td> |
| 34 |
<td class="gallery_image" valign="top" align="right"></td> |
| 35 |
</tr></table></div> |
| 36 |
<div class="refsect1"> |
| 37 |
<a name="GarconGtkMenu.functions"></a><h2>Functions</h2> |
| 38 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 39 |
<colgroup> |
| 40 |
<col width="150px" class="functions_proto_type"> |
| 41 |
<col class="functions_proto_name"> |
| 42 |
</colgroup> |
| 43 |
<tbody> |
| 44 |
<tr> |
| 45 |
<td class="function_type"> |
| 46 |
<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> * |
| 47 |
</td> |
| 48 |
<td class="function_name"> |
| 49 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-new" title="garcon_gtk_menu_new ()">garcon_gtk_menu_new</a> <span class="c_punctuation">()</span> |
| 50 |
</td> |
| 51 |
</tr> |
| 52 |
<tr> |
| 53 |
<td class="function_type"> |
| 54 |
<span class="returnvalue">void</span> |
| 55 |
</td> |
| 56 |
<td class="function_name"> |
| 57 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-set-menu" title="garcon_gtk_menu_set_menu ()">garcon_gtk_menu_set_menu</a> <span class="c_punctuation">()</span> |
| 58 |
</td> |
| 59 |
</tr> |
| 60 |
<tr> |
| 61 |
<td class="function_type"> |
| 62 |
<a class="link" href="GarconMenu.html" title="GarconMenu"><span class="returnvalue">GarconMenu</span></a> * |
| 63 |
</td> |
| 64 |
<td class="function_name"> |
| 65 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-menu" title="garcon_gtk_menu_get_menu ()">garcon_gtk_menu_get_menu</a> <span class="c_punctuation">()</span> |
| 66 |
</td> |
| 67 |
</tr> |
| 68 |
<tr> |
| 69 |
<td class="function_type"> |
| 70 |
<span class="returnvalue">void</span> |
| 71 |
</td> |
| 72 |
<td class="function_name"> |
| 73 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-set-show-generic-names" title="garcon_gtk_menu_set_show_generic_names ()">garcon_gtk_menu_set_show_generic_names</a> <span class="c_punctuation">()</span> |
| 74 |
</td> |
| 75 |
</tr> |
| 76 |
<tr> |
| 77 |
<td class="function_type"> |
| 78 |
<span class="returnvalue">gboolean</span> |
| 79 |
</td> |
| 80 |
<td class="function_name"> |
| 81 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-show-generic-names" title="garcon_gtk_menu_get_show_generic_names ()">garcon_gtk_menu_get_show_generic_names</a> <span class="c_punctuation">()</span> |
| 82 |
</td> |
| 83 |
</tr> |
| 84 |
<tr> |
| 85 |
<td class="function_type"> |
| 86 |
<span class="returnvalue">void</span> |
| 87 |
</td> |
| 88 |
<td class="function_name"> |
| 89 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-set-show-menu-icons" title="garcon_gtk_menu_set_show_menu_icons ()">garcon_gtk_menu_set_show_menu_icons</a> <span class="c_punctuation">()</span> |
| 90 |
</td> |
| 91 |
</tr> |
| 92 |
<tr> |
| 93 |
<td class="function_type"> |
| 94 |
<span class="returnvalue">gboolean</span> |
| 95 |
</td> |
| 96 |
<td class="function_name"> |
| 97 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-show-menu-icons" title="garcon_gtk_menu_get_show_menu_icons ()">garcon_gtk_menu_get_show_menu_icons</a> <span class="c_punctuation">()</span> |
| 98 |
</td> |
| 99 |
</tr> |
| 100 |
<tr> |
| 101 |
<td class="function_type"> |
| 102 |
<span class="returnvalue">void</span> |
| 103 |
</td> |
| 104 |
<td class="function_name"> |
| 105 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-set-show-tooltips" title="garcon_gtk_menu_set_show_tooltips ()">garcon_gtk_menu_set_show_tooltips</a> <span class="c_punctuation">()</span> |
| 106 |
</td> |
| 107 |
</tr> |
| 108 |
<tr> |
| 109 |
<td class="function_type"> |
| 110 |
<span class="returnvalue">gboolean</span> |
| 111 |
</td> |
| 112 |
<td class="function_name"> |
| 113 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-show-tooltips" title="garcon_gtk_menu_get_show_tooltips ()">garcon_gtk_menu_get_show_tooltips</a> <span class="c_punctuation">()</span> |
| 114 |
</td> |
| 115 |
</tr> |
| 116 |
<tr> |
| 117 |
<td class="function_type"> |
| 118 |
<span class="returnvalue">void</span> |
| 119 |
</td> |
| 120 |
<td class="function_name"> |
| 121 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-set-show-desktop-actions" title="garcon_gtk_menu_set_show_desktop_actions ()">garcon_gtk_menu_set_show_desktop_actions</a> <span class="c_punctuation">()</span> |
| 122 |
</td> |
| 123 |
</tr> |
| 124 |
<tr> |
| 125 |
<td class="function_type"> |
| 126 |
<span class="returnvalue">gboolean</span> |
| 127 |
</td> |
| 128 |
<td class="function_name"> |
| 129 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-show-desktop-actions" title="garcon_gtk_menu_get_show_desktop_actions ()">garcon_gtk_menu_get_show_desktop_actions</a> <span class="c_punctuation">()</span> |
| 130 |
</td> |
| 131 |
</tr> |
| 132 |
<tr> |
| 133 |
<td class="function_type"> |
| 134 |
<a href="/usr/share/gtk-doc/html/gtk3/GtkMenu.html#GtkMenu-struct"><span class="returnvalue">GtkMenu</span></a> * |
| 135 |
</td> |
| 136 |
<td class="function_name"> |
| 137 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-desktop-actions-menu" title="garcon_gtk_menu_get_desktop_actions_menu ()">garcon_gtk_menu_get_desktop_actions_menu</a> <span class="c_punctuation">()</span> |
| 138 |
</td> |
| 139 |
</tr> |
| 140 |
<tr> |
| 141 |
<td class="function_type"> |
| 142 |
<span class="returnvalue">void</span> |
| 143 |
</td> |
| 144 |
<td class="function_name"> |
| 145 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-set-right-click-edits" title="garcon_gtk_menu_set_right_click_edits ()">garcon_gtk_menu_set_right_click_edits</a> <span class="c_punctuation">()</span> |
| 146 |
</td> |
| 147 |
</tr> |
| 148 |
<tr> |
| 149 |
<td class="function_type"> |
| 150 |
<span class="returnvalue">gboolean</span> |
| 151 |
</td> |
| 152 |
<td class="function_name"> |
| 153 |
<a class="link" href="GarconGtkMenu.html#garcon-gtk-menu-get-right-click-edits" title="garcon_gtk_menu_get_right_click_edits ()">garcon_gtk_menu_get_right_click_edits</a> <span class="c_punctuation">()</span> |
| 154 |
</td> |
| 155 |
</tr> |
| 156 |
</tbody> |
| 157 |
</table></div> |
| 158 |
</div> |
| 159 |
<div class="refsect1"> |
| 160 |
<a name="GarconGtkMenu.properties"></a><h2>Properties</h2> |
| 161 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 162 |
<colgroup> |
| 163 |
<col width="150px" class="properties_type"> |
| 164 |
<col width="300px" class="properties_name"> |
| 165 |
<col width="200px" class="properties_flags"> |
| 166 |
</colgroup> |
| 167 |
<tbody> |
| 168 |
<tr> |
| 169 |
<td class="property_type"> |
| 170 |
<a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> *</td> |
| 171 |
<td class="property_name"><a class="link" href="GarconGtkMenu.html#GarconGtkMenu--menu" title="The “menu” property">menu</a></td> |
| 172 |
<td class="property_flags">Read / Write</td> |
| 173 |
</tr> |
| 174 |
<tr> |
| 175 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 176 |
<td class="property_name"><a class="link" href="GarconGtkMenu.html#GarconGtkMenu--right-click-edits" title="The “right-click-edits” property">right-click-edits</a></td> |
| 177 |
<td class="property_flags">Read / Write</td> |
| 178 |
</tr> |
| 179 |
<tr> |
| 180 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 181 |
<td class="property_name"><a class="link" href="GarconGtkMenu.html#GarconGtkMenu--show-desktop-actions" title="The “show-desktop-actions” property">show-desktop-actions</a></td> |
| 182 |
<td class="property_flags">Read / Write</td> |
| 183 |
</tr> |
| 184 |
<tr> |
| 185 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 186 |
<td class="property_name"><a class="link" href="GarconGtkMenu.html#GarconGtkMenu--show-generic-names" title="The “show-generic-names” property">show-generic-names</a></td> |
| 187 |
<td class="property_flags">Read / Write</td> |
| 188 |
</tr> |
| 189 |
<tr> |
| 190 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 191 |
<td class="property_name"><a class="link" href="GarconGtkMenu.html#GarconGtkMenu--show-menu-icons" title="The “show-menu-icons” property">show-menu-icons</a></td> |
| 192 |
<td class="property_flags">Read / Write</td> |
| 193 |
</tr> |
| 194 |
<tr> |
| 195 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 196 |
<td class="property_name"><a class="link" href="GarconGtkMenu.html#GarconGtkMenu--show-tooltips" title="The “show-tooltips” property">show-tooltips</a></td> |
| 197 |
<td class="property_flags">Read / Write</td> |
| 198 |
</tr> |
| 199 |
</tbody> |
| 200 |
</table></div> |
| 201 |
</div> |
| 202 |
<div class="refsect1"> |
| 203 |
<a name="GarconGtkMenu.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 204 |
<pre class="screen"> GObject |
| 205 |
<span class="lineart">╰──</span> GInitiallyUnowned |
| 206 |
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct">GtkWidget</a> |
| 207 |
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3/GtkContainer.html#GtkContainer-struct">GtkContainer</a> |
| 208 |
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3/GtkMenuShell.html#GtkMenuShell-struct">GtkMenuShell</a> |
| 209 |
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3/GtkMenu.html#GtkMenu-struct">GtkMenu</a> |
| 210 |
<span class="lineart">╰──</span> GarconGtkMenu |
| 211 |
</pre> |
| 212 |
</div> |
| 213 |
<div class="refsect1"> |
| 214 |
<a name="GarconGtkMenu.includes"></a><h2>Includes</h2> |
| 215 |
<pre class="synopsis">#include <garcon-gtk/garcon-gtk.h> |
| 216 |
</pre> |
| 217 |
</div> |
| 218 |
<div class="refsect1"> |
| 219 |
<a name="GarconGtkMenu.description"></a><h2>Description</h2> |
| 220 |
<p>Create a complete GtkMenu for the given GarconMenu</p> |
| 221 |
</div> |
| 222 |
<div class="refsect1"> |
| 223 |
<a name="GarconGtkMenu.functions_details"></a><h2>Functions</h2> |
| 224 |
<div class="refsect2"> |
| 225 |
<a name="garcon-gtk-menu-new"></a><h3>garcon_gtk_menu_new ()</h3> |
| 226 |
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> * |
| 227 |
garcon_gtk_menu_new (<em class="parameter"><code><a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> *garcon_menu</code></em>);</pre> |
| 228 |
<p>Creates a new <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> for the .menu file referred to by <em class="parameter"><code>garcon_menu</code></em> |
| 229 |
. |
| 230 |
This operation only fails if <em class="parameter"><code>garcon_menu</code></em> |
| 231 |
is invalid.</p> |
| 232 |
<p>The caller is responsible to destroy the returned <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> |
| 233 |
using <code class="function">g_object_unref()</code>.</p> |
| 234 |
<div class="refsect3"> |
| 235 |
<a name="garcon-gtk-menu-new.parameters"></a><h4>Parameters</h4> |
| 236 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 237 |
<colgroup> |
| 238 |
<col width="150px" class="parameters_name"> |
| 239 |
<col class="parameters_description"> |
| 240 |
<col width="200px" class="parameters_annotations"> |
| 241 |
</colgroup> |
| 242 |
<tbody><tr> |
| 243 |
<td class="parameter_name"><p>garcon_menu</p></td> |
| 244 |
<td class="parameter_description"><p>The <a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> to be associated with the |
| 245 |
<a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a>, or <code class="literal">NULL</code>. </p></td> |
| 246 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 247 |
</tr></tbody> |
| 248 |
</table></div> |
| 249 |
</div> |
| 250 |
<div class="refsect3"> |
| 251 |
<a name="garcon-gtk-menu-new.returns"></a><h4>Returns</h4> |
| 252 |
<p> a new <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> for <em class="parameter"><code>garcon_menu</code></em> |
| 253 |
.</p> |
| 254 |
</div> |
| 255 |
</div> |
| 256 |
<hr> |
| 257 |
<div class="refsect2"> |
| 258 |
<a name="garcon-gtk-menu-set-menu"></a><h3>garcon_gtk_menu_set_menu ()</h3> |
| 259 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 260 |
garcon_gtk_menu_set_menu (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>, |
| 261 |
<em class="parameter"><code><a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> *garcon_menu</code></em>);</pre> |
| 262 |
<div class="refsect3"> |
| 263 |
<a name="garcon-gtk-menu-set-menu.parameters"></a><h4>Parameters</h4> |
| 264 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 265 |
<colgroup> |
| 266 |
<col width="150px" class="parameters_name"> |
| 267 |
<col class="parameters_description"> |
| 268 |
<col width="200px" class="parameters_annotations"> |
| 269 |
</colgroup> |
| 270 |
<tbody> |
| 271 |
<tr> |
| 272 |
<td class="parameter_name"><p>menu</p></td> |
| 273 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 274 |
<td class="parameter_annotations"> </td> |
| 275 |
</tr> |
| 276 |
<tr> |
| 277 |
<td class="parameter_name"><p>garcon_menu</p></td> |
| 278 |
<td class="parameter_description"><p>The <a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> to use</p></td> |
| 279 |
<td class="parameter_annotations"> </td> |
| 280 |
</tr> |
| 281 |
</tbody> |
| 282 |
</table></div> |
| 283 |
</div> |
| 284 |
</div> |
| 285 |
<hr> |
| 286 |
<div class="refsect2"> |
| 287 |
<a name="garcon-gtk-menu-get-menu"></a><h3>garcon_gtk_menu_get_menu ()</h3> |
| 288 |
<pre class="programlisting"><a class="link" href="GarconMenu.html" title="GarconMenu"><span class="returnvalue">GarconMenu</span></a> * |
| 289 |
garcon_gtk_menu_get_menu (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>);</pre> |
| 290 |
<p>The <a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> used to create the <a href="/usr/share/gtk-doc/html/gtk3/GtkMenu.html#GtkMenu-struct"><span class="type">GtkMenu</span></a>.</p> |
| 291 |
<p>The caller is responsible to releasing the returned <a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> |
| 292 |
using <code class="function">g_object_unref()</code>.</p> |
| 293 |
<div class="refsect3"> |
| 294 |
<a name="garcon-gtk-menu-get-menu.parameters"></a><h4>Parameters</h4> |
| 295 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 296 |
<colgroup> |
| 297 |
<col width="150px" class="parameters_name"> |
| 298 |
<col class="parameters_description"> |
| 299 |
<col width="200px" class="parameters_annotations"> |
| 300 |
</colgroup> |
| 301 |
<tbody><tr> |
| 302 |
<td class="parameter_name"><p>menu</p></td> |
| 303 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 304 |
<td class="parameter_annotations"> </td> |
| 305 |
</tr></tbody> |
| 306 |
</table></div> |
| 307 |
</div> |
| 308 |
<div class="refsect3"> |
| 309 |
<a name="garcon-gtk-menu-get-menu.returns"></a><h4>Returns</h4> |
| 310 |
<p>the <a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> for <em class="parameter"><code>menu</code></em> |
| 311 |
. </p> |
| 312 |
<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> |
| 313 |
</div> |
| 314 |
</div> |
| 315 |
<hr> |
| 316 |
<div class="refsect2"> |
| 317 |
<a name="garcon-gtk-menu-set-show-generic-names"></a><h3>garcon_gtk_menu_set_show_generic_names ()</h3> |
| 318 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 319 |
garcon_gtk_menu_set_show_generic_names |
| 320 |
(<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>, |
| 321 |
<em class="parameter"><code><span class="type">gboolean</span> show_generic_names</code></em>);</pre> |
| 322 |
<div class="refsect3"> |
| 323 |
<a name="garcon-gtk-menu-set-show-generic-names.parameters"></a><h4>Parameters</h4> |
| 324 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 325 |
<colgroup> |
| 326 |
<col width="150px" class="parameters_name"> |
| 327 |
<col class="parameters_description"> |
| 328 |
<col width="200px" class="parameters_annotations"> |
| 329 |
</colgroup> |
| 330 |
<tbody> |
| 331 |
<tr> |
| 332 |
<td class="parameter_name"><p>menu</p></td> |
| 333 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 334 |
<td class="parameter_annotations"> </td> |
| 335 |
</tr> |
| 336 |
<tr> |
| 337 |
<td class="parameter_name"><p>show_generic_names</p></td> |
| 338 |
<td class="parameter_description"><p>new value</p></td> |
| 339 |
<td class="parameter_annotations"> </td> |
| 340 |
</tr> |
| 341 |
</tbody> |
| 342 |
</table></div> |
| 343 |
</div> |
| 344 |
</div> |
| 345 |
<hr> |
| 346 |
<div class="refsect2"> |
| 347 |
<a name="garcon-gtk-menu-get-show-generic-names"></a><h3>garcon_gtk_menu_get_show_generic_names ()</h3> |
| 348 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 349 |
garcon_gtk_menu_get_show_generic_names |
| 350 |
(<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>);</pre> |
| 351 |
<div class="refsect3"> |
| 352 |
<a name="garcon-gtk-menu-get-show-generic-names.parameters"></a><h4>Parameters</h4> |
| 353 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 354 |
<colgroup> |
| 355 |
<col width="150px" class="parameters_name"> |
| 356 |
<col class="parameters_description"> |
| 357 |
<col width="200px" class="parameters_annotations"> |
| 358 |
</colgroup> |
| 359 |
<tbody><tr> |
| 360 |
<td class="parameter_name"><p>menu</p></td> |
| 361 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 362 |
<td class="parameter_annotations"> </td> |
| 363 |
</tr></tbody> |
| 364 |
</table></div> |
| 365 |
</div> |
| 366 |
<div class="refsect3"> |
| 367 |
<a name="garcon-gtk-menu-get-show-generic-names.returns"></a><h4>Returns</h4> |
| 368 |
<p> if generic names are shown</p> |
| 369 |
</div> |
| 370 |
</div> |
| 371 |
<hr> |
| 372 |
<div class="refsect2"> |
| 373 |
<a name="garcon-gtk-menu-set-show-menu-icons"></a><h3>garcon_gtk_menu_set_show_menu_icons ()</h3> |
| 374 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 375 |
garcon_gtk_menu_set_show_menu_icons (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>, |
| 376 |
<em class="parameter"><code><span class="type">gboolean</span> show_menu_icons</code></em>);</pre> |
| 377 |
<div class="refsect3"> |
| 378 |
<a name="garcon-gtk-menu-set-show-menu-icons.parameters"></a><h4>Parameters</h4> |
| 379 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 380 |
<colgroup> |
| 381 |
<col width="150px" class="parameters_name"> |
| 382 |
<col class="parameters_description"> |
| 383 |
<col width="200px" class="parameters_annotations"> |
| 384 |
</colgroup> |
| 385 |
<tbody> |
| 386 |
<tr> |
| 387 |
<td class="parameter_name"><p>menu</p></td> |
| 388 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 389 |
<td class="parameter_annotations"> </td> |
| 390 |
</tr> |
| 391 |
<tr> |
| 392 |
<td class="parameter_name"><p>show_menu_icons</p></td> |
| 393 |
<td class="parameter_description"><p>new value</p></td> |
| 394 |
<td class="parameter_annotations"> </td> |
| 395 |
</tr> |
| 396 |
</tbody> |
| 397 |
</table></div> |
| 398 |
</div> |
| 399 |
</div> |
| 400 |
<hr> |
| 401 |
<div class="refsect2"> |
| 402 |
<a name="garcon-gtk-menu-get-show-menu-icons"></a><h3>garcon_gtk_menu_get_show_menu_icons ()</h3> |
| 403 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 404 |
garcon_gtk_menu_get_show_menu_icons (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>);</pre> |
| 405 |
<div class="refsect3"> |
| 406 |
<a name="garcon-gtk-menu-get-show-menu-icons.parameters"></a><h4>Parameters</h4> |
| 407 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 408 |
<colgroup> |
| 409 |
<col width="150px" class="parameters_name"> |
| 410 |
<col class="parameters_description"> |
| 411 |
<col width="200px" class="parameters_annotations"> |
| 412 |
</colgroup> |
| 413 |
<tbody><tr> |
| 414 |
<td class="parameter_name"><p>menu</p></td> |
| 415 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 416 |
<td class="parameter_annotations"> </td> |
| 417 |
</tr></tbody> |
| 418 |
</table></div> |
| 419 |
</div> |
| 420 |
<div class="refsect3"> |
| 421 |
<a name="garcon-gtk-menu-get-show-menu-icons.returns"></a><h4>Returns</h4> |
| 422 |
<p> if menu icons are shown</p> |
| 423 |
</div> |
| 424 |
</div> |
| 425 |
<hr> |
| 426 |
<div class="refsect2"> |
| 427 |
<a name="garcon-gtk-menu-set-show-tooltips"></a><h3>garcon_gtk_menu_set_show_tooltips ()</h3> |
| 428 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 429 |
garcon_gtk_menu_set_show_tooltips (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>, |
| 430 |
<em class="parameter"><code><span class="type">gboolean</span> show_tooltips</code></em>);</pre> |
| 431 |
<div class="refsect3"> |
| 432 |
<a name="garcon-gtk-menu-set-show-tooltips.parameters"></a><h4>Parameters</h4> |
| 433 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 434 |
<colgroup> |
| 435 |
<col width="150px" class="parameters_name"> |
| 436 |
<col class="parameters_description"> |
| 437 |
<col width="200px" class="parameters_annotations"> |
| 438 |
</colgroup> |
| 439 |
<tbody> |
| 440 |
<tr> |
| 441 |
<td class="parameter_name"><p>menu</p></td> |
| 442 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 443 |
<td class="parameter_annotations"> </td> |
| 444 |
</tr> |
| 445 |
<tr> |
| 446 |
<td class="parameter_name"><p>show_tooltips</p></td> |
| 447 |
<td class="parameter_description"><p>new value</p></td> |
| 448 |
<td class="parameter_annotations"> </td> |
| 449 |
</tr> |
| 450 |
</tbody> |
| 451 |
</table></div> |
| 452 |
</div> |
| 453 |
</div> |
| 454 |
<hr> |
| 455 |
<div class="refsect2"> |
| 456 |
<a name="garcon-gtk-menu-get-show-tooltips"></a><h3>garcon_gtk_menu_get_show_tooltips ()</h3> |
| 457 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 458 |
garcon_gtk_menu_get_show_tooltips (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>);</pre> |
| 459 |
<div class="refsect3"> |
| 460 |
<a name="garcon-gtk-menu-get-show-tooltips.parameters"></a><h4>Parameters</h4> |
| 461 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 462 |
<colgroup> |
| 463 |
<col width="150px" class="parameters_name"> |
| 464 |
<col class="parameters_description"> |
| 465 |
<col width="200px" class="parameters_annotations"> |
| 466 |
</colgroup> |
| 467 |
<tbody><tr> |
| 468 |
<td class="parameter_name"><p>menu</p></td> |
| 469 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 470 |
<td class="parameter_annotations"> </td> |
| 471 |
</tr></tbody> |
| 472 |
</table></div> |
| 473 |
</div> |
| 474 |
<div class="refsect3"> |
| 475 |
<a name="garcon-gtk-menu-get-show-tooltips.returns"></a><h4>Returns</h4> |
| 476 |
<p> Whether descriptions are shown in the tooltip.</p> |
| 477 |
</div> |
| 478 |
</div> |
| 479 |
<hr> |
| 480 |
<div class="refsect2"> |
| 481 |
<a name="garcon-gtk-menu-set-show-desktop-actions"></a><h3>garcon_gtk_menu_set_show_desktop_actions ()</h3> |
| 482 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 483 |
garcon_gtk_menu_set_show_desktop_actions |
| 484 |
(<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>, |
| 485 |
<em class="parameter"><code><span class="type">gboolean</span> show_desktop_actions</code></em>);</pre> |
| 486 |
<div class="refsect3"> |
| 487 |
<a name="garcon-gtk-menu-set-show-desktop-actions.parameters"></a><h4>Parameters</h4> |
| 488 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 489 |
<colgroup> |
| 490 |
<col width="150px" class="parameters_name"> |
| 491 |
<col class="parameters_description"> |
| 492 |
<col width="200px" class="parameters_annotations"> |
| 493 |
</colgroup> |
| 494 |
<tbody> |
| 495 |
<tr> |
| 496 |
<td class="parameter_name"><p>menu</p></td> |
| 497 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 498 |
<td class="parameter_annotations"> </td> |
| 499 |
</tr> |
| 500 |
<tr> |
| 501 |
<td class="parameter_name"><p>show_desktop_actions</p></td> |
| 502 |
<td class="parameter_description"><p>Toggle showing the desktop actions in a submenu.</p></td> |
| 503 |
<td class="parameter_annotations"> </td> |
| 504 |
</tr> |
| 505 |
</tbody> |
| 506 |
</table></div> |
| 507 |
</div> |
| 508 |
</div> |
| 509 |
<hr> |
| 510 |
<div class="refsect2"> |
| 511 |
<a name="garcon-gtk-menu-get-show-desktop-actions"></a><h3>garcon_gtk_menu_get_show_desktop_actions ()</h3> |
| 512 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 513 |
garcon_gtk_menu_get_show_desktop_actions |
| 514 |
(<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>);</pre> |
| 515 |
<div class="refsect3"> |
| 516 |
<a name="garcon-gtk-menu-get-show-desktop-actions.parameters"></a><h4>Parameters</h4> |
| 517 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 518 |
<colgroup> |
| 519 |
<col width="150px" class="parameters_name"> |
| 520 |
<col class="parameters_description"> |
| 521 |
<col width="200px" class="parameters_annotations"> |
| 522 |
</colgroup> |
| 523 |
<tbody><tr> |
| 524 |
<td class="parameter_name"><p>menu</p></td> |
| 525 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 526 |
<td class="parameter_annotations"> </td> |
| 527 |
</tr></tbody> |
| 528 |
</table></div> |
| 529 |
</div> |
| 530 |
<div class="refsect3"> |
| 531 |
<a name="garcon-gtk-menu-get-show-desktop-actions.returns"></a><h4>Returns</h4> |
| 532 |
<p> Whether desktop actions are shown in a submenu.</p> |
| 533 |
</div> |
| 534 |
</div> |
| 535 |
<hr> |
| 536 |
<div class="refsect2"> |
| 537 |
<a name="garcon-gtk-menu-get-desktop-actions-menu"></a><h3>garcon_gtk_menu_get_desktop_actions_menu ()</h3> |
| 538 |
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkMenu.html#GtkMenu-struct"><span class="returnvalue">GtkMenu</span></a> * |
| 539 |
garcon_gtk_menu_get_desktop_actions_menu |
| 540 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 541 |
<p>Application icons are never shown on the action menu items.</p> |
| 542 |
<div class="refsect3"> |
| 543 |
<a name="garcon-gtk-menu-get-desktop-actions-menu.parameters"></a><h4>Parameters</h4> |
| 544 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 545 |
<colgroup> |
| 546 |
<col width="150px" class="parameters_name"> |
| 547 |
<col class="parameters_description"> |
| 548 |
<col width="200px" class="parameters_annotations"> |
| 549 |
</colgroup> |
| 550 |
<tbody><tr> |
| 551 |
<td class="parameter_name"><p>item</p></td> |
| 552 |
<td class="parameter_description"><p>A <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 553 |
<td class="parameter_annotations"> </td> |
| 554 |
</tr></tbody> |
| 555 |
</table></div> |
| 556 |
</div> |
| 557 |
<div class="refsect3"> |
| 558 |
<a name="garcon-gtk-menu-get-desktop-actions-menu.returns"></a><h4>Returns</h4> |
| 559 |
<p>a <a href="/usr/share/gtk-doc/html/gtk3/GtkMenu.html#GtkMenu-struct"><span class="type">GtkMenu</span></a> holding all actions described |
| 560 |
in the desktop file as menu items. </p> |
| 561 |
<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> |
| 562 |
</div> |
| 563 |
</div> |
| 564 |
<hr> |
| 565 |
<div class="refsect2"> |
| 566 |
<a name="garcon-gtk-menu-set-right-click-edits"></a><h3>garcon_gtk_menu_set_right_click_edits ()</h3> |
| 567 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 568 |
garcon_gtk_menu_set_right_click_edits (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>, |
| 569 |
<em class="parameter"><code><span class="type">gboolean</span> enable_right_click_edits</code></em>);</pre> |
| 570 |
<div class="refsect3"> |
| 571 |
<a name="garcon-gtk-menu-set-right-click-edits.parameters"></a><h4>Parameters</h4> |
| 572 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 573 |
<colgroup> |
| 574 |
<col width="150px" class="parameters_name"> |
| 575 |
<col class="parameters_description"> |
| 576 |
<col width="200px" class="parameters_annotations"> |
| 577 |
</colgroup> |
| 578 |
<tbody> |
| 579 |
<tr> |
| 580 |
<td class="parameter_name"><p>menu</p></td> |
| 581 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 582 |
<td class="parameter_annotations"> </td> |
| 583 |
</tr> |
| 584 |
<tr> |
| 585 |
<td class="parameter_name"><p>enable_right_click_edits</p></td> |
| 586 |
<td class="parameter_description"><p>Toggle showing whether to launch an editor |
| 587 |
when the menu is clicked with the secondary mouse button.</p></td> |
| 588 |
<td class="parameter_annotations"> </td> |
| 589 |
</tr> |
| 590 |
</tbody> |
| 591 |
</table></div> |
| 592 |
</div> |
| 593 |
</div> |
| 594 |
<hr> |
| 595 |
<div class="refsect2"> |
| 596 |
<a name="garcon-gtk-menu-get-right-click-edits"></a><h3>garcon_gtk_menu_get_right_click_edits ()</h3> |
| 597 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 598 |
garcon_gtk_menu_get_right_click_edits (<em class="parameter"><code><a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a> *menu</code></em>);</pre> |
| 599 |
<div class="refsect3"> |
| 600 |
<a name="garcon-gtk-menu-get-right-click-edits.parameters"></a><h4>Parameters</h4> |
| 601 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 602 |
<colgroup> |
| 603 |
<col width="150px" class="parameters_name"> |
| 604 |
<col class="parameters_description"> |
| 605 |
<col width="200px" class="parameters_annotations"> |
| 606 |
</colgroup> |
| 607 |
<tbody><tr> |
| 608 |
<td class="parameter_name"><p>menu</p></td> |
| 609 |
<td class="parameter_description"><p>A <a class="link" href="GarconGtkMenu.html" title="GarconGtkMenu"><span class="type">GarconGtkMenu</span></a></p></td> |
| 610 |
<td class="parameter_annotations"> </td> |
| 611 |
</tr></tbody> |
| 612 |
</table></div> |
| 613 |
</div> |
| 614 |
<div class="refsect3"> |
| 615 |
<a name="garcon-gtk-menu-get-right-click-edits.returns"></a><h4>Returns</h4> |
| 616 |
<p> Whether an editor will be launched on secondary mouse clicks</p> |
| 617 |
</div> |
| 618 |
</div> |
| 619 |
</div> |
| 620 |
<div class="refsect1"> |
| 621 |
<a name="GarconGtkMenu.property-details"></a><h2>Property Details</h2> |
| 622 |
<div class="refsect2"> |
| 623 |
<a name="GarconGtkMenu--menu"></a><h3>The <code class="literal">“menu”</code> property</h3> |
| 624 |
<pre class="programlisting"> “menu” <a class="link" href="GarconMenu.html" title="GarconMenu"><span class="type">GarconMenu</span></a> *</pre> |
| 625 |
<p>menu.</p> |
| 626 |
<p>Owner: GarconGtkMenu</p> |
| 627 |
<p>Flags: Read / Write</p> |
| 628 |
</div> |
| 629 |
<hr> |
| 630 |
<div class="refsect2"> |
| 631 |
<a name="GarconGtkMenu--right-click-edits"></a><h3>The <code class="literal">“right-click-edits”</code> property</h3> |
| 632 |
<pre class="programlisting"> “right-click-edits” <span class="type">gboolean</span></pre> |
| 633 |
<p>right click to edit menu items.</p> |
| 634 |
<p>Owner: GarconGtkMenu</p> |
| 635 |
<p>Flags: Read / Write</p> |
| 636 |
<p>Default value: FALSE</p> |
| 637 |
</div> |
| 638 |
<hr> |
| 639 |
<div class="refsect2"> |
| 640 |
<a name="GarconGtkMenu--show-desktop-actions"></a><h3>The <code class="literal">“show-desktop-actions”</code> property</h3> |
| 641 |
<pre class="programlisting"> “show-desktop-actions” <span class="type">gboolean</span></pre> |
| 642 |
<p>show desktop actions in a submenu.</p> |
| 643 |
<p>Owner: GarconGtkMenu</p> |
| 644 |
<p>Flags: Read / Write</p> |
| 645 |
<p>Default value: FALSE</p> |
| 646 |
</div> |
| 647 |
<hr> |
| 648 |
<div class="refsect2"> |
| 649 |
<a name="GarconGtkMenu--show-generic-names"></a><h3>The <code class="literal">“show-generic-names”</code> property</h3> |
| 650 |
<pre class="programlisting"> “show-generic-names” <span class="type">gboolean</span></pre> |
| 651 |
<p>show-generic-names.</p> |
| 652 |
<p>Owner: GarconGtkMenu</p> |
| 653 |
<p>Flags: Read / Write</p> |
| 654 |
<p>Default value: FALSE</p> |
| 655 |
</div> |
| 656 |
<hr> |
| 657 |
<div class="refsect2"> |
| 658 |
<a name="GarconGtkMenu--show-menu-icons"></a><h3>The <code class="literal">“show-menu-icons”</code> property</h3> |
| 659 |
<pre class="programlisting"> “show-menu-icons” <span class="type">gboolean</span></pre> |
| 660 |
<p>show-menu-icons.</p> |
| 661 |
<p>Owner: GarconGtkMenu</p> |
| 662 |
<p>Flags: Read / Write</p> |
| 663 |
<p>Default value: TRUE</p> |
| 664 |
</div> |
| 665 |
<hr> |
| 666 |
<div class="refsect2"> |
| 667 |
<a name="GarconGtkMenu--show-tooltips"></a><h3>The <code class="literal">“show-tooltips”</code> property</h3> |
| 668 |
<pre class="programlisting"> “show-tooltips” <span class="type">gboolean</span></pre> |
| 669 |
<p>show-tooltips.</p> |
| 670 |
<p>Owner: GarconGtkMenu</p> |
| 671 |
<p>Flags: Read / Write</p> |
| 672 |
<p>Default value: FALSE</p> |
| 673 |
</div> |
| 674 |
</div> |
| 675 |
</div> |
| 676 |
<div class="footer"> |
| 677 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 678 |
</body> |
| 679 |
</html> |