| 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>GarconMenuItem: 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="GarconMenuElement.html" title="GarconMenuElement"> |
| 10 |
<link rel="next" href="GarconMenuItemCache.html" title="GarconMenuItemCache"> |
| 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="#GarconMenuItem.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#GarconMenuItem.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> |
| 20 |
<a href="#GarconMenuItem.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span> |
| 21 |
<a href="#GarconMenuItem.signals" class="shortcut">Signals</a></span> |
| 22 |
</td> |
| 23 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 24 |
<td><a accesskey="u" href="garcon-menus.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 25 |
<td><a accesskey="p" href="GarconMenuElement.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 26 |
<td><a accesskey="n" href="GarconMenuItemCache.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 27 |
</tr></table> |
| 28 |
<div class="refentry"> |
| 29 |
<a name="GarconMenuItem"></a><div class="titlepage"></div> |
| 30 |
<div class="refnamediv"><table width="100%"><tr> |
| 31 |
<td valign="top"> |
| 32 |
<h2><span class="refentrytitle"><a name="GarconMenuItem.top_of_page"></a>GarconMenuItem</span></h2> |
| 33 |
<p>GarconMenuItem</p> |
| 34 |
</td> |
| 35 |
<td class="gallery_image" valign="top" align="right"></td> |
| 36 |
</tr></table></div> |
| 37 |
<div class="refsect1"> |
| 38 |
<a name="GarconMenuItem.functions"></a><h2>Functions</h2> |
| 39 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 40 |
<colgroup> |
| 41 |
<col width="150px" class="functions_proto_type"> |
| 42 |
<col class="functions_proto_name"> |
| 43 |
</colgroup> |
| 44 |
<tbody> |
| 45 |
<tr> |
| 46 |
<td class="function_type"> |
| 47 |
<a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 48 |
</td> |
| 49 |
<td class="function_name"> |
| 50 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-new" title="garcon_menu_item_new ()">garcon_menu_item_new</a> <span class="c_punctuation">()</span> |
| 51 |
</td> |
| 52 |
</tr> |
| 53 |
<tr> |
| 54 |
<td class="function_type"> |
| 55 |
<a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 56 |
</td> |
| 57 |
<td class="function_name"> |
| 58 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-new-for-path" title="garcon_menu_item_new_for_path ()">garcon_menu_item_new_for_path</a> <span class="c_punctuation">()</span> |
| 59 |
</td> |
| 60 |
</tr> |
| 61 |
<tr> |
| 62 |
<td class="function_type"> |
| 63 |
<a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 64 |
</td> |
| 65 |
<td class="function_name"> |
| 66 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-new-for-uri" title="garcon_menu_item_new_for_uri ()">garcon_menu_item_new_for_uri</a> <span class="c_punctuation">()</span> |
| 67 |
</td> |
| 68 |
</tr> |
| 69 |
<tr> |
| 70 |
<td class="function_type"> |
| 71 |
<span class="returnvalue">gboolean</span> |
| 72 |
</td> |
| 73 |
<td class="function_name"> |
| 74 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-reload" title="garcon_menu_item_reload ()">garcon_menu_item_reload</a> <span class="c_punctuation">()</span> |
| 75 |
</td> |
| 76 |
</tr> |
| 77 |
<tr> |
| 78 |
<td class="function_type"> |
| 79 |
<span class="returnvalue">gboolean</span> |
| 80 |
</td> |
| 81 |
<td class="function_name"> |
| 82 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-reload-from-file" title="garcon_menu_item_reload_from_file ()">garcon_menu_item_reload_from_file</a> <span class="c_punctuation">()</span> |
| 83 |
</td> |
| 84 |
</tr> |
| 85 |
<tr> |
| 86 |
<td class="function_type"> |
| 87 |
<span class="returnvalue">GFile</span> * |
| 88 |
</td> |
| 89 |
<td class="function_name"> |
| 90 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-file" title="garcon_menu_item_get_file ()">garcon_menu_item_get_file</a> <span class="c_punctuation">()</span> |
| 91 |
</td> |
| 92 |
</tr> |
| 93 |
<tr> |
| 94 |
<td class="function_type"> |
| 95 |
<span class="returnvalue">gchar</span> * |
| 96 |
</td> |
| 97 |
<td class="function_name"> |
| 98 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-uri" title="garcon_menu_item_get_uri ()">garcon_menu_item_get_uri</a> <span class="c_punctuation">()</span> |
| 99 |
</td> |
| 100 |
</tr> |
| 101 |
<tr> |
| 102 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 103 |
</td> |
| 104 |
<td class="function_name"> |
| 105 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-desktop-id" title="garcon_menu_item_get_desktop_id ()">garcon_menu_item_get_desktop_id</a> <span class="c_punctuation">()</span> |
| 106 |
</td> |
| 107 |
</tr> |
| 108 |
<tr> |
| 109 |
<td class="function_type"> |
| 110 |
<span class="returnvalue">void</span> |
| 111 |
</td> |
| 112 |
<td class="function_name"> |
| 113 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-desktop-id" title="garcon_menu_item_set_desktop_id ()">garcon_menu_item_set_desktop_id</a> <span class="c_punctuation">()</span> |
| 114 |
</td> |
| 115 |
</tr> |
| 116 |
<tr> |
| 117 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 118 |
</td> |
| 119 |
<td class="function_name"> |
| 120 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-command" title="garcon_menu_item_get_command ()">garcon_menu_item_get_command</a> <span class="c_punctuation">()</span> |
| 121 |
</td> |
| 122 |
</tr> |
| 123 |
<tr> |
| 124 |
<td class="function_type"> |
| 125 |
<span class="returnvalue">void</span> |
| 126 |
</td> |
| 127 |
<td class="function_name"> |
| 128 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-command" title="garcon_menu_item_set_command ()">garcon_menu_item_set_command</a> <span class="c_punctuation">()</span> |
| 129 |
</td> |
| 130 |
</tr> |
| 131 |
<tr> |
| 132 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 133 |
</td> |
| 134 |
<td class="function_name"> |
| 135 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-try-exec" title="garcon_menu_item_get_try_exec ()">garcon_menu_item_get_try_exec</a> <span class="c_punctuation">()</span> |
| 136 |
</td> |
| 137 |
</tr> |
| 138 |
<tr> |
| 139 |
<td class="function_type"> |
| 140 |
<span class="returnvalue">void</span> |
| 141 |
</td> |
| 142 |
<td class="function_name"> |
| 143 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-try-exec" title="garcon_menu_item_set_try_exec ()">garcon_menu_item_set_try_exec</a> <span class="c_punctuation">()</span> |
| 144 |
</td> |
| 145 |
</tr> |
| 146 |
<tr> |
| 147 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 148 |
</td> |
| 149 |
<td class="function_name"> |
| 150 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-name" title="garcon_menu_item_get_name ()">garcon_menu_item_get_name</a> <span class="c_punctuation">()</span> |
| 151 |
</td> |
| 152 |
</tr> |
| 153 |
<tr> |
| 154 |
<td class="function_type"> |
| 155 |
<span class="returnvalue">void</span> |
| 156 |
</td> |
| 157 |
<td class="function_name"> |
| 158 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-name" title="garcon_menu_item_set_name ()">garcon_menu_item_set_name</a> <span class="c_punctuation">()</span> |
| 159 |
</td> |
| 160 |
</tr> |
| 161 |
<tr> |
| 162 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 163 |
</td> |
| 164 |
<td class="function_name"> |
| 165 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-generic-name" title="garcon_menu_item_get_generic_name ()">garcon_menu_item_get_generic_name</a> <span class="c_punctuation">()</span> |
| 166 |
</td> |
| 167 |
</tr> |
| 168 |
<tr> |
| 169 |
<td class="function_type"> |
| 170 |
<span class="returnvalue">void</span> |
| 171 |
</td> |
| 172 |
<td class="function_name"> |
| 173 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-generic-name" title="garcon_menu_item_set_generic_name ()">garcon_menu_item_set_generic_name</a> <span class="c_punctuation">()</span> |
| 174 |
</td> |
| 175 |
</tr> |
| 176 |
<tr> |
| 177 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 178 |
</td> |
| 179 |
<td class="function_name"> |
| 180 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-comment" title="garcon_menu_item_get_comment ()">garcon_menu_item_get_comment</a> <span class="c_punctuation">()</span> |
| 181 |
</td> |
| 182 |
</tr> |
| 183 |
<tr> |
| 184 |
<td class="function_type"> |
| 185 |
<span class="returnvalue">void</span> |
| 186 |
</td> |
| 187 |
<td class="function_name"> |
| 188 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-comment" title="garcon_menu_item_set_comment ()">garcon_menu_item_set_comment</a> <span class="c_punctuation">()</span> |
| 189 |
</td> |
| 190 |
</tr> |
| 191 |
<tr> |
| 192 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 193 |
</td> |
| 194 |
<td class="function_name"> |
| 195 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-icon-name" title="garcon_menu_item_get_icon_name ()">garcon_menu_item_get_icon_name</a> <span class="c_punctuation">()</span> |
| 196 |
</td> |
| 197 |
</tr> |
| 198 |
<tr> |
| 199 |
<td class="function_type"> |
| 200 |
<span class="returnvalue">void</span> |
| 201 |
</td> |
| 202 |
<td class="function_name"> |
| 203 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-icon-name" title="garcon_menu_item_set_icon_name ()">garcon_menu_item_set_icon_name</a> <span class="c_punctuation">()</span> |
| 204 |
</td> |
| 205 |
</tr> |
| 206 |
<tr> |
| 207 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 208 |
</td> |
| 209 |
<td class="function_name"> |
| 210 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-path" title="garcon_menu_item_get_path ()">garcon_menu_item_get_path</a> <span class="c_punctuation">()</span> |
| 211 |
</td> |
| 212 |
</tr> |
| 213 |
<tr> |
| 214 |
<td class="function_type"> |
| 215 |
<span class="returnvalue">void</span> |
| 216 |
</td> |
| 217 |
<td class="function_name"> |
| 218 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-path" title="garcon_menu_item_set_path ()">garcon_menu_item_set_path</a> <span class="c_punctuation">()</span> |
| 219 |
</td> |
| 220 |
</tr> |
| 221 |
<tr> |
| 222 |
<td class="function_type"> |
| 223 |
<span class="returnvalue">gboolean</span> |
| 224 |
</td> |
| 225 |
<td class="function_name"> |
| 226 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-hidden" title="garcon_menu_item_get_hidden ()">garcon_menu_item_get_hidden</a> <span class="c_punctuation">()</span> |
| 227 |
</td> |
| 228 |
</tr> |
| 229 |
<tr> |
| 230 |
<td class="function_type"> |
| 231 |
<span class="returnvalue">void</span> |
| 232 |
</td> |
| 233 |
<td class="function_name"> |
| 234 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-hidden" title="garcon_menu_item_set_hidden ()">garcon_menu_item_set_hidden</a> <span class="c_punctuation">()</span> |
| 235 |
</td> |
| 236 |
</tr> |
| 237 |
<tr> |
| 238 |
<td class="function_type"> |
| 239 |
<span class="returnvalue">gboolean</span> |
| 240 |
</td> |
| 241 |
<td class="function_name"> |
| 242 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-prefers-non-default-gpu" title="garcon_menu_item_get_prefers_non_default_gpu ()">garcon_menu_item_get_prefers_non_default_gpu</a> <span class="c_punctuation">()</span> |
| 243 |
</td> |
| 244 |
</tr> |
| 245 |
<tr> |
| 246 |
<td class="function_type"> |
| 247 |
<span class="returnvalue">void</span> |
| 248 |
</td> |
| 249 |
<td class="function_name"> |
| 250 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-prefers-non-default-gpu" title="garcon_menu_item_set_prefers_non_default_gpu ()">garcon_menu_item_set_prefers_non_default_gpu</a> <span class="c_punctuation">()</span> |
| 251 |
</td> |
| 252 |
</tr> |
| 253 |
<tr> |
| 254 |
<td class="function_type"> |
| 255 |
<span class="returnvalue">gboolean</span> |
| 256 |
</td> |
| 257 |
<td class="function_name"> |
| 258 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-requires-terminal" title="garcon_menu_item_requires_terminal ()">garcon_menu_item_requires_terminal</a> <span class="c_punctuation">()</span> |
| 259 |
</td> |
| 260 |
</tr> |
| 261 |
<tr> |
| 262 |
<td class="function_type"> |
| 263 |
<span class="returnvalue">void</span> |
| 264 |
</td> |
| 265 |
<td class="function_name"> |
| 266 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-requires-terminal" title="garcon_menu_item_set_requires_terminal ()">garcon_menu_item_set_requires_terminal</a> <span class="c_punctuation">()</span> |
| 267 |
</td> |
| 268 |
</tr> |
| 269 |
<tr> |
| 270 |
<td class="function_type"> |
| 271 |
<span class="returnvalue">gboolean</span> |
| 272 |
</td> |
| 273 |
<td class="function_name"> |
| 274 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-no-display" title="garcon_menu_item_get_no_display ()">garcon_menu_item_get_no_display</a> <span class="c_punctuation">()</span> |
| 275 |
</td> |
| 276 |
</tr> |
| 277 |
<tr> |
| 278 |
<td class="function_type"> |
| 279 |
<span class="returnvalue">void</span> |
| 280 |
</td> |
| 281 |
<td class="function_name"> |
| 282 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-no-display" title="garcon_menu_item_set_no_display ()">garcon_menu_item_set_no_display</a> <span class="c_punctuation">()</span> |
| 283 |
</td> |
| 284 |
</tr> |
| 285 |
<tr> |
| 286 |
<td class="function_type"> |
| 287 |
<span class="returnvalue">gboolean</span> |
| 288 |
</td> |
| 289 |
<td class="function_name"> |
| 290 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-supports-startup-notification" title="garcon_menu_item_supports_startup_notification ()">garcon_menu_item_supports_startup_notification</a> <span class="c_punctuation">()</span> |
| 291 |
</td> |
| 292 |
</tr> |
| 293 |
<tr> |
| 294 |
<td class="function_type"> |
| 295 |
<span class="returnvalue">void</span> |
| 296 |
</td> |
| 297 |
<td class="function_name"> |
| 298 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-supports-startup-notification" title="garcon_menu_item_set_supports_startup_notification ()">garcon_menu_item_set_supports_startup_notification</a> <span class="c_punctuation">()</span> |
| 299 |
</td> |
| 300 |
</tr> |
| 301 |
<tr> |
| 302 |
<td class="function_type"> |
| 303 |
<span class="returnvalue">GList</span> * |
| 304 |
</td> |
| 305 |
<td class="function_name"> |
| 306 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-categories" title="garcon_menu_item_get_categories ()">garcon_menu_item_get_categories</a> <span class="c_punctuation">()</span> |
| 307 |
</td> |
| 308 |
</tr> |
| 309 |
<tr> |
| 310 |
<td class="function_type"> |
| 311 |
<span class="returnvalue">void</span> |
| 312 |
</td> |
| 313 |
<td class="function_name"> |
| 314 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-categories" title="garcon_menu_item_set_categories ()">garcon_menu_item_set_categories</a> <span class="c_punctuation">()</span> |
| 315 |
</td> |
| 316 |
</tr> |
| 317 |
<tr> |
| 318 |
<td class="function_type"> |
| 319 |
<span class="returnvalue">gboolean</span> |
| 320 |
</td> |
| 321 |
<td class="function_name"> |
| 322 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-has-category" title="garcon_menu_item_has_category ()">garcon_menu_item_has_category</a> <span class="c_punctuation">()</span> |
| 323 |
</td> |
| 324 |
</tr> |
| 325 |
<tr> |
| 326 |
<td class="function_type"> |
| 327 |
<span class="returnvalue">gboolean</span> |
| 328 |
</td> |
| 329 |
<td class="function_name"> |
| 330 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-has-keyword" title="garcon_menu_item_has_keyword ()">garcon_menu_item_has_keyword</a> <span class="c_punctuation">()</span> |
| 331 |
</td> |
| 332 |
</tr> |
| 333 |
<tr> |
| 334 |
<td class="function_type"> |
| 335 |
<span class="returnvalue">GList</span> * |
| 336 |
</td> |
| 337 |
<td class="function_name"> |
| 338 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-keywords" title="garcon_menu_item_get_keywords ()">garcon_menu_item_get_keywords</a> <span class="c_punctuation">()</span> |
| 339 |
</td> |
| 340 |
</tr> |
| 341 |
<tr> |
| 342 |
<td class="function_type"> |
| 343 |
<span class="returnvalue">void</span> |
| 344 |
</td> |
| 345 |
<td class="function_name"> |
| 346 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-keywords" title="garcon_menu_item_set_keywords ()">garcon_menu_item_set_keywords</a> <span class="c_punctuation">()</span> |
| 347 |
</td> |
| 348 |
</tr> |
| 349 |
<tr> |
| 350 |
<td class="function_type"> |
| 351 |
<span class="returnvalue">GList</span> * |
| 352 |
</td> |
| 353 |
<td class="function_name"> |
| 354 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-actions" title="garcon_menu_item_get_actions ()">garcon_menu_item_get_actions</a> <span class="c_punctuation">()</span> |
| 355 |
</td> |
| 356 |
</tr> |
| 357 |
<tr> |
| 358 |
<td class="function_type"> |
| 359 |
<a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="returnvalue">GarconMenuItemAction</span></a> * |
| 360 |
</td> |
| 361 |
<td class="function_name"> |
| 362 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-action" title="garcon_menu_item_get_action ()">garcon_menu_item_get_action</a> <span class="c_punctuation">()</span> |
| 363 |
</td> |
| 364 |
</tr> |
| 365 |
<tr> |
| 366 |
<td class="function_type"> |
| 367 |
<span class="returnvalue">void</span> |
| 368 |
</td> |
| 369 |
<td class="function_name"> |
| 370 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-set-action" title="garcon_menu_item_set_action ()">garcon_menu_item_set_action</a> <span class="c_punctuation">()</span> |
| 371 |
</td> |
| 372 |
</tr> |
| 373 |
<tr> |
| 374 |
<td class="function_type"> |
| 375 |
<span class="returnvalue">gboolean</span> |
| 376 |
</td> |
| 377 |
<td class="function_name"> |
| 378 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-has-action" title="garcon_menu_item_has_action ()">garcon_menu_item_has_action</a> <span class="c_punctuation">()</span> |
| 379 |
</td> |
| 380 |
</tr> |
| 381 |
<tr> |
| 382 |
<td class="function_type"> |
| 383 |
<span class="returnvalue">gboolean</span> |
| 384 |
</td> |
| 385 |
<td class="function_name"> |
| 386 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-show-in-environment" title="garcon_menu_item_get_show_in_environment ()">garcon_menu_item_get_show_in_environment</a> <span class="c_punctuation">()</span> |
| 387 |
</td> |
| 388 |
</tr> |
| 389 |
<tr> |
| 390 |
<td class="function_type"> |
| 391 |
<span class="returnvalue">gboolean</span> |
| 392 |
</td> |
| 393 |
<td class="function_name"> |
| 394 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-only-show-in-environment" title="garcon_menu_item_only_show_in_environment ()">garcon_menu_item_only_show_in_environment</a> <span class="c_punctuation">()</span> |
| 395 |
</td> |
| 396 |
</tr> |
| 397 |
<tr> |
| 398 |
<td class="function_type"> |
| 399 |
<span class="returnvalue">void</span> |
| 400 |
</td> |
| 401 |
<td class="function_name"> |
| 402 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-ref" title="garcon_menu_item_ref ()">garcon_menu_item_ref</a> <span class="c_punctuation">()</span> |
| 403 |
</td> |
| 404 |
</tr> |
| 405 |
<tr> |
| 406 |
<td class="function_type"> |
| 407 |
<span class="returnvalue">void</span> |
| 408 |
</td> |
| 409 |
<td class="function_name"> |
| 410 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-unref" title="garcon_menu_item_unref ()">garcon_menu_item_unref</a> <span class="c_punctuation">()</span> |
| 411 |
</td> |
| 412 |
</tr> |
| 413 |
<tr> |
| 414 |
<td class="function_type"> |
| 415 |
<span class="returnvalue">gint</span> |
| 416 |
</td> |
| 417 |
<td class="function_name"> |
| 418 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-get-allocated" title="garcon_menu_item_get_allocated ()">garcon_menu_item_get_allocated</a> <span class="c_punctuation">()</span> |
| 419 |
</td> |
| 420 |
</tr> |
| 421 |
<tr> |
| 422 |
<td class="function_type"> |
| 423 |
<span class="returnvalue">void</span> |
| 424 |
</td> |
| 425 |
<td class="function_name"> |
| 426 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-increment-allocated" title="garcon_menu_item_increment_allocated ()">garcon_menu_item_increment_allocated</a> <span class="c_punctuation">()</span> |
| 427 |
</td> |
| 428 |
</tr> |
| 429 |
<tr> |
| 430 |
<td class="function_type"> |
| 431 |
<span class="returnvalue">void</span> |
| 432 |
</td> |
| 433 |
<td class="function_name"> |
| 434 |
<a class="link" href="GarconMenuItem.html#garcon-menu-item-decrement-allocated" title="garcon_menu_item_decrement_allocated ()">garcon_menu_item_decrement_allocated</a> <span class="c_punctuation">()</span> |
| 435 |
</td> |
| 436 |
</tr> |
| 437 |
</tbody> |
| 438 |
</table></div> |
| 439 |
</div> |
| 440 |
<div class="refsect1"> |
| 441 |
<a name="GarconMenuItem.properties"></a><h2>Properties</h2> |
| 442 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 443 |
<colgroup> |
| 444 |
<col width="150px" class="properties_type"> |
| 445 |
<col width="300px" class="properties_name"> |
| 446 |
<col width="200px" class="properties_flags"> |
| 447 |
</colgroup> |
| 448 |
<tbody> |
| 449 |
<tr> |
| 450 |
<td class="property_type"> |
| 451 |
<span class="type">char</span> *</td> |
| 452 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--command" title="The “command” property">command</a></td> |
| 453 |
<td class="property_flags">Read / Write</td> |
| 454 |
</tr> |
| 455 |
<tr> |
| 456 |
<td class="property_type"> |
| 457 |
<span class="type">char</span> *</td> |
| 458 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--comment" title="The “comment” property">comment</a></td> |
| 459 |
<td class="property_flags">Read / Write</td> |
| 460 |
</tr> |
| 461 |
<tr> |
| 462 |
<td class="property_type"> |
| 463 |
<span class="type">char</span> *</td> |
| 464 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--desktop-id" title="The “desktop-id” property">desktop-id</a></td> |
| 465 |
<td class="property_flags">Read / Write</td> |
| 466 |
</tr> |
| 467 |
<tr> |
| 468 |
<td class="property_type"> |
| 469 |
<span class="type">GFile</span> *</td> |
| 470 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--file" title="The “file” property">file</a></td> |
| 471 |
<td class="property_flags">Read / Write / Construct Only</td> |
| 472 |
</tr> |
| 473 |
<tr> |
| 474 |
<td class="property_type"> |
| 475 |
<span class="type">char</span> *</td> |
| 476 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--generic-name" title="The “generic-name” property">generic-name</a></td> |
| 477 |
<td class="property_flags">Read / Write</td> |
| 478 |
</tr> |
| 479 |
<tr> |
| 480 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 481 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--hidden" title="The “hidden” property">hidden</a></td> |
| 482 |
<td class="property_flags">Read / Write</td> |
| 483 |
</tr> |
| 484 |
<tr> |
| 485 |
<td class="property_type"> |
| 486 |
<span class="type">char</span> *</td> |
| 487 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--icon-name" title="The “icon-name” property">icon-name</a></td> |
| 488 |
<td class="property_flags">Read / Write</td> |
| 489 |
</tr> |
| 490 |
<tr> |
| 491 |
<td class="property_type"> |
| 492 |
<span class="type">char</span> *</td> |
| 493 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--name" title="The “name” property">name</a></td> |
| 494 |
<td class="property_flags">Read / Write</td> |
| 495 |
</tr> |
| 496 |
<tr> |
| 497 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 498 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--no-display" title="The “no-display” property">no-display</a></td> |
| 499 |
<td class="property_flags">Read / Write</td> |
| 500 |
</tr> |
| 501 |
<tr> |
| 502 |
<td class="property_type"> |
| 503 |
<span class="type">char</span> *</td> |
| 504 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--path" title="The “path” property">path</a></td> |
| 505 |
<td class="property_flags">Read / Write</td> |
| 506 |
</tr> |
| 507 |
<tr> |
| 508 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 509 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--prefers-non-default-gpu" title="The “prefers-non-default-gpu” property">prefers-non-default-gpu</a></td> |
| 510 |
<td class="property_flags">Read / Write</td> |
| 511 |
</tr> |
| 512 |
<tr> |
| 513 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 514 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--requires-terminal" title="The “requires-terminal” property">requires-terminal</a></td> |
| 515 |
<td class="property_flags">Read / Write</td> |
| 516 |
</tr> |
| 517 |
<tr> |
| 518 |
<td class="property_type"><span class="type">gboolean</span></td> |
| 519 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--supports-startup-notification" title="The “supports-startup-notification” property">supports-startup-notification</a></td> |
| 520 |
<td class="property_flags">Read / Write</td> |
| 521 |
</tr> |
| 522 |
<tr> |
| 523 |
<td class="property_type"> |
| 524 |
<span class="type">char</span> *</td> |
| 525 |
<td class="property_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem--try-exec" title="The “try-exec” property">try-exec</a></td> |
| 526 |
<td class="property_flags">Read / Write</td> |
| 527 |
</tr> |
| 528 |
</tbody> |
| 529 |
</table></div> |
| 530 |
</div> |
| 531 |
<div class="refsect1"> |
| 532 |
<a name="GarconMenuItem.signals"></a><h2>Signals</h2> |
| 533 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 534 |
<colgroup> |
| 535 |
<col width="150px" class="signal_proto_type"> |
| 536 |
<col width="300px" class="signal_proto_name"> |
| 537 |
<col width="200px" class="signal_proto_flags"> |
| 538 |
</colgroup> |
| 539 |
<tbody><tr> |
| 540 |
<td class="signal_type"><span class="returnvalue">void</span></td> |
| 541 |
<td class="signal_name"><a class="link" href="GarconMenuItem.html#GarconMenuItem-changed" title="The “changed” signal">changed</a></td> |
| 542 |
<td class="signal_flags">Run First</td> |
| 543 |
</tr></tbody> |
| 544 |
</table></div> |
| 545 |
</div> |
| 546 |
<div class="refsect1"> |
| 547 |
<a name="GarconMenuItem.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 548 |
<pre class="screen"> GObject |
| 549 |
<span class="lineart">╰──</span> GarconMenuItem |
| 550 |
</pre> |
| 551 |
</div> |
| 552 |
<div class="refsect1"> |
| 553 |
<a name="GarconMenuItem.description"></a><h2>Description</h2> |
| 554 |
</div> |
| 555 |
<div class="refsect1"> |
| 556 |
<a name="GarconMenuItem.functions_details"></a><h2>Functions</h2> |
| 557 |
<div class="refsect2"> |
| 558 |
<a name="garcon-menu-item-new"></a><h3>garcon_menu_item_new ()</h3> |
| 559 |
<pre class="programlisting"><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 560 |
garcon_menu_item_new (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);</pre> |
| 561 |
<p>Returns (transfer full): a new <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p> |
| 562 |
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p> |
| 563 |
<div class="refsect3"> |
| 564 |
<a name="garcon-menu-item-new.parameters"></a><h4>Parameters</h4> |
| 565 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 566 |
<colgroup> |
| 567 |
<col width="150px" class="parameters_name"> |
| 568 |
<col class="parameters_description"> |
| 569 |
<col width="200px" class="parameters_annotations"> |
| 570 |
</colgroup> |
| 571 |
<tbody><tr> |
| 572 |
<td class="parameter_name"><p>file</p></td> |
| 573 |
<td class="parameter_description"><p>a <span class="type">GFile</span></p></td> |
| 574 |
<td class="parameter_annotations"> </td> |
| 575 |
</tr></tbody> |
| 576 |
</table></div> |
| 577 |
</div> |
| 578 |
</div> |
| 579 |
<hr> |
| 580 |
<div class="refsect2"> |
| 581 |
<a name="garcon-menu-item-new-for-path"></a><h3>garcon_menu_item_new_for_path ()</h3> |
| 582 |
<pre class="programlisting"><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 583 |
garcon_menu_item_new_for_path (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre> |
| 584 |
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p> |
| 585 |
<div class="refsect3"> |
| 586 |
<a name="garcon-menu-item-new-for-path.parameters"></a><h4>Parameters</h4> |
| 587 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 588 |
<colgroup> |
| 589 |
<col width="150px" class="parameters_name"> |
| 590 |
<col class="parameters_description"> |
| 591 |
<col width="200px" class="parameters_annotations"> |
| 592 |
</colgroup> |
| 593 |
<tbody><tr> |
| 594 |
<td class="parameter_name"><p>filename</p></td> |
| 595 |
<td class="parameter_description"><p>name of a file. </p></td> |
| 596 |
<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> |
| 597 |
</tr></tbody> |
| 598 |
</table></div> |
| 599 |
</div> |
| 600 |
<div class="refsect3"> |
| 601 |
<a name="garcon-menu-item-new-for-path.returns"></a><h4>Returns</h4> |
| 602 |
<p>a new <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a>. </p> |
| 603 |
<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> |
| 604 |
</div> |
| 605 |
</div> |
| 606 |
<hr> |
| 607 |
<div class="refsect2"> |
| 608 |
<a name="garcon-menu-item-new-for-uri"></a><h3>garcon_menu_item_new_for_uri ()</h3> |
| 609 |
<pre class="programlisting"><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="returnvalue">GarconMenuItem</span></a> * |
| 610 |
garcon_menu_item_new_for_uri (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre> |
| 611 |
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p> |
| 612 |
<div class="refsect3"> |
| 613 |
<a name="garcon-menu-item-new-for-uri.parameters"></a><h4>Parameters</h4> |
| 614 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 615 |
<colgroup> |
| 616 |
<col width="150px" class="parameters_name"> |
| 617 |
<col class="parameters_description"> |
| 618 |
<col width="200px" class="parameters_annotations"> |
| 619 |
</colgroup> |
| 620 |
<tbody><tr> |
| 621 |
<td class="parameter_name"><p>uri</p></td> |
| 622 |
<td class="parameter_description"><p>a given URI</p></td> |
| 623 |
<td class="parameter_annotations"> </td> |
| 624 |
</tr></tbody> |
| 625 |
</table></div> |
| 626 |
</div> |
| 627 |
<div class="refsect3"> |
| 628 |
<a name="garcon-menu-item-new-for-uri.returns"></a><h4>Returns</h4> |
| 629 |
<p>a new <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a>. </p> |
| 630 |
<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> |
| 631 |
</div> |
| 632 |
</div> |
| 633 |
<hr> |
| 634 |
<div class="refsect2"> |
| 635 |
<a name="garcon-menu-item-reload"></a><h3>garcon_menu_item_reload ()</h3> |
| 636 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 637 |
garcon_menu_item_reload (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 638 |
<em class="parameter"><code><span class="type">gboolean</span> *affects_the_outside</code></em>, |
| 639 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 640 |
</div> |
| 641 |
<hr> |
| 642 |
<div class="refsect2"> |
| 643 |
<a name="garcon-menu-item-reload-from-file"></a><h3>garcon_menu_item_reload_from_file ()</h3> |
| 644 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 645 |
garcon_menu_item_reload_from_file (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 646 |
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>, |
| 647 |
<em class="parameter"><code><span class="type">gboolean</span> *affects_the_outside</code></em>, |
| 648 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 649 |
</div> |
| 650 |
<hr> |
| 651 |
<div class="refsect2"> |
| 652 |
<a name="garcon-menu-item-get-file"></a><h3>garcon_menu_item_get_file ()</h3> |
| 653 |
<pre class="programlisting"><span class="returnvalue">GFile</span> * |
| 654 |
garcon_menu_item_get_file (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 655 |
<p>Get the <span class="type">GFile</span> for <em class="parameter"><code>item</code></em> |
| 656 |
. The returned object should be |
| 657 |
unreffed with <code class="function">g_object_unref()</code> when no longer needed.</p> |
| 658 |
<div class="refsect3"> |
| 659 |
<a name="garcon-menu-item-get-file.parameters"></a><h4>Parameters</h4> |
| 660 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 661 |
<colgroup> |
| 662 |
<col width="150px" class="parameters_name"> |
| 663 |
<col class="parameters_description"> |
| 664 |
<col width="200px" class="parameters_annotations"> |
| 665 |
</colgroup> |
| 666 |
<tbody><tr> |
| 667 |
<td class="parameter_name"><p>item</p></td> |
| 668 |
<td class="parameter_description"><p>A <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 669 |
<td class="parameter_annotations"> </td> |
| 670 |
</tr></tbody> |
| 671 |
</table></div> |
| 672 |
</div> |
| 673 |
<div class="refsect3"> |
| 674 |
<a name="garcon-menu-item-get-file.returns"></a><h4>Returns</h4> |
| 675 |
<p>a <span class="type">GFile</span>. </p> |
| 676 |
<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> |
| 677 |
</div> |
| 678 |
</div> |
| 679 |
<hr> |
| 680 |
<div class="refsect2"> |
| 681 |
<a name="garcon-menu-item-get-uri"></a><h3>garcon_menu_item_get_uri ()</h3> |
| 682 |
<pre class="programlisting"><span class="returnvalue">gchar</span> * |
| 683 |
garcon_menu_item_get_uri (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 684 |
</div> |
| 685 |
<hr> |
| 686 |
<div class="refsect2"> |
| 687 |
<a name="garcon-menu-item-get-desktop-id"></a><h3>garcon_menu_item_get_desktop_id ()</h3> |
| 688 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 689 |
garcon_menu_item_get_desktop_id (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 690 |
</div> |
| 691 |
<hr> |
| 692 |
<div class="refsect2"> |
| 693 |
<a name="garcon-menu-item-set-desktop-id"></a><h3>garcon_menu_item_set_desktop_id ()</h3> |
| 694 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 695 |
garcon_menu_item_set_desktop_id (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 696 |
<em class="parameter"><code>const <span class="type">gchar</span> *desktop_id</code></em>);</pre> |
| 697 |
</div> |
| 698 |
<hr> |
| 699 |
<div class="refsect2"> |
| 700 |
<a name="garcon-menu-item-get-command"></a><h3>garcon_menu_item_get_command ()</h3> |
| 701 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 702 |
garcon_menu_item_get_command (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 703 |
</div> |
| 704 |
<hr> |
| 705 |
<div class="refsect2"> |
| 706 |
<a name="garcon-menu-item-set-command"></a><h3>garcon_menu_item_set_command ()</h3> |
| 707 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 708 |
garcon_menu_item_set_command (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 709 |
<em class="parameter"><code>const <span class="type">gchar</span> *command</code></em>);</pre> |
| 710 |
</div> |
| 711 |
<hr> |
| 712 |
<div class="refsect2"> |
| 713 |
<a name="garcon-menu-item-get-try-exec"></a><h3>garcon_menu_item_get_try_exec ()</h3> |
| 714 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 715 |
garcon_menu_item_get_try_exec (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 716 |
</div> |
| 717 |
<hr> |
| 718 |
<div class="refsect2"> |
| 719 |
<a name="garcon-menu-item-set-try-exec"></a><h3>garcon_menu_item_set_try_exec ()</h3> |
| 720 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 721 |
garcon_menu_item_set_try_exec (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 722 |
<em class="parameter"><code>const <span class="type">gchar</span> *try_exec</code></em>);</pre> |
| 723 |
</div> |
| 724 |
<hr> |
| 725 |
<div class="refsect2"> |
| 726 |
<a name="garcon-menu-item-get-name"></a><h3>garcon_menu_item_get_name ()</h3> |
| 727 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 728 |
garcon_menu_item_get_name (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 729 |
</div> |
| 730 |
<hr> |
| 731 |
<div class="refsect2"> |
| 732 |
<a name="garcon-menu-item-set-name"></a><h3>garcon_menu_item_set_name ()</h3> |
| 733 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 734 |
garcon_menu_item_set_name (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 735 |
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> |
| 736 |
</div> |
| 737 |
<hr> |
| 738 |
<div class="refsect2"> |
| 739 |
<a name="garcon-menu-item-get-generic-name"></a><h3>garcon_menu_item_get_generic_name ()</h3> |
| 740 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 741 |
garcon_menu_item_get_generic_name (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 742 |
</div> |
| 743 |
<hr> |
| 744 |
<div class="refsect2"> |
| 745 |
<a name="garcon-menu-item-set-generic-name"></a><h3>garcon_menu_item_set_generic_name ()</h3> |
| 746 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 747 |
garcon_menu_item_set_generic_name (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 748 |
<em class="parameter"><code>const <span class="type">gchar</span> *generic_name</code></em>);</pre> |
| 749 |
</div> |
| 750 |
<hr> |
| 751 |
<div class="refsect2"> |
| 752 |
<a name="garcon-menu-item-get-comment"></a><h3>garcon_menu_item_get_comment ()</h3> |
| 753 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 754 |
garcon_menu_item_get_comment (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 755 |
</div> |
| 756 |
<hr> |
| 757 |
<div class="refsect2"> |
| 758 |
<a name="garcon-menu-item-set-comment"></a><h3>garcon_menu_item_set_comment ()</h3> |
| 759 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 760 |
garcon_menu_item_set_comment (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 761 |
<em class="parameter"><code>const <span class="type">gchar</span> *comment</code></em>);</pre> |
| 762 |
</div> |
| 763 |
<hr> |
| 764 |
<div class="refsect2"> |
| 765 |
<a name="garcon-menu-item-get-icon-name"></a><h3>garcon_menu_item_get_icon_name ()</h3> |
| 766 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 767 |
garcon_menu_item_get_icon_name (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 768 |
</div> |
| 769 |
<hr> |
| 770 |
<div class="refsect2"> |
| 771 |
<a name="garcon-menu-item-set-icon-name"></a><h3>garcon_menu_item_set_icon_name ()</h3> |
| 772 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 773 |
garcon_menu_item_set_icon_name (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 774 |
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre> |
| 775 |
</div> |
| 776 |
<hr> |
| 777 |
<div class="refsect2"> |
| 778 |
<a name="garcon-menu-item-get-path"></a><h3>garcon_menu_item_get_path ()</h3> |
| 779 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 780 |
garcon_menu_item_get_path (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 781 |
</div> |
| 782 |
<hr> |
| 783 |
<div class="refsect2"> |
| 784 |
<a name="garcon-menu-item-set-path"></a><h3>garcon_menu_item_set_path ()</h3> |
| 785 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 786 |
garcon_menu_item_set_path (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 787 |
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre> |
| 788 |
</div> |
| 789 |
<hr> |
| 790 |
<div class="refsect2"> |
| 791 |
<a name="garcon-menu-item-get-hidden"></a><h3>garcon_menu_item_get_hidden ()</h3> |
| 792 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 793 |
garcon_menu_item_get_hidden (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 794 |
</div> |
| 795 |
<hr> |
| 796 |
<div class="refsect2"> |
| 797 |
<a name="garcon-menu-item-set-hidden"></a><h3>garcon_menu_item_set_hidden ()</h3> |
| 798 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 799 |
garcon_menu_item_set_hidden (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 800 |
<em class="parameter"><code><span class="type">gboolean</span> hidden</code></em>);</pre> |
| 801 |
</div> |
| 802 |
<hr> |
| 803 |
<div class="refsect2"> |
| 804 |
<a name="garcon-menu-item-get-prefers-non-default-gpu"></a><h3>garcon_menu_item_get_prefers_non_default_gpu ()</h3> |
| 805 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 806 |
garcon_menu_item_get_prefers_non_default_gpu |
| 807 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 808 |
</div> |
| 809 |
<hr> |
| 810 |
<div class="refsect2"> |
| 811 |
<a name="garcon-menu-item-set-prefers-non-default-gpu"></a><h3>garcon_menu_item_set_prefers_non_default_gpu ()</h3> |
| 812 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 813 |
garcon_menu_item_set_prefers_non_default_gpu |
| 814 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 815 |
<em class="parameter"><code><span class="type">gboolean</span> prefers_non_default_gpu</code></em>);</pre> |
| 816 |
</div> |
| 817 |
<hr> |
| 818 |
<div class="refsect2"> |
| 819 |
<a name="garcon-menu-item-requires-terminal"></a><h3>garcon_menu_item_requires_terminal ()</h3> |
| 820 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 821 |
garcon_menu_item_requires_terminal (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 822 |
</div> |
| 823 |
<hr> |
| 824 |
<div class="refsect2"> |
| 825 |
<a name="garcon-menu-item-set-requires-terminal"></a><h3>garcon_menu_item_set_requires_terminal ()</h3> |
| 826 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 827 |
garcon_menu_item_set_requires_terminal |
| 828 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 829 |
<em class="parameter"><code><span class="type">gboolean</span> requires_terminal</code></em>);</pre> |
| 830 |
</div> |
| 831 |
<hr> |
| 832 |
<div class="refsect2"> |
| 833 |
<a name="garcon-menu-item-get-no-display"></a><h3>garcon_menu_item_get_no_display ()</h3> |
| 834 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 835 |
garcon_menu_item_get_no_display (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 836 |
</div> |
| 837 |
<hr> |
| 838 |
<div class="refsect2"> |
| 839 |
<a name="garcon-menu-item-set-no-display"></a><h3>garcon_menu_item_set_no_display ()</h3> |
| 840 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 841 |
garcon_menu_item_set_no_display (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 842 |
<em class="parameter"><code><span class="type">gboolean</span> no_display</code></em>);</pre> |
| 843 |
</div> |
| 844 |
<hr> |
| 845 |
<div class="refsect2"> |
| 846 |
<a name="garcon-menu-item-supports-startup-notification"></a><h3>garcon_menu_item_supports_startup_notification ()</h3> |
| 847 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 848 |
garcon_menu_item_supports_startup_notification |
| 849 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 850 |
</div> |
| 851 |
<hr> |
| 852 |
<div class="refsect2"> |
| 853 |
<a name="garcon-menu-item-set-supports-startup-notification"></a><h3>garcon_menu_item_set_supports_startup_notification ()</h3> |
| 854 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 855 |
garcon_menu_item_set_supports_startup_notification |
| 856 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 857 |
<em class="parameter"><code><span class="type">gboolean</span> supports_startup_notification</code></em>);</pre> |
| 858 |
</div> |
| 859 |
<hr> |
| 860 |
<div class="refsect2"> |
| 861 |
<a name="garcon-menu-item-get-categories"></a><h3>garcon_menu_item_get_categories ()</h3> |
| 862 |
<pre class="programlisting"><span class="returnvalue">GList</span> * |
| 863 |
garcon_menu_item_get_categories (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 864 |
<p>Returns list of categories</p> |
| 865 |
<div class="refsect3"> |
| 866 |
<a name="garcon-menu-item-get-categories.parameters"></a><h4>Parameters</h4> |
| 867 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 868 |
<colgroup> |
| 869 |
<col width="150px" class="parameters_name"> |
| 870 |
<col class="parameters_description"> |
| 871 |
<col width="200px" class="parameters_annotations"> |
| 872 |
</colgroup> |
| 873 |
<tbody><tr> |
| 874 |
<td class="parameter_name"><p>item</p></td> |
| 875 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 876 |
<td class="parameter_annotations"> </td> |
| 877 |
</tr></tbody> |
| 878 |
</table></div> |
| 879 |
</div> |
| 880 |
<div class="refsect3"> |
| 881 |
<a name="garcon-menu-item-get-categories.returns"></a><h4>Returns</h4> |
| 882 |
<p>. </p> |
| 883 |
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 884 |
</div> |
| 885 |
</div> |
| 886 |
<hr> |
| 887 |
<div class="refsect2"> |
| 888 |
<a name="garcon-menu-item-set-categories"></a><h3>garcon_menu_item_set_categories ()</h3> |
| 889 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 890 |
garcon_menu_item_set_categories (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 891 |
<em class="parameter"><code><span class="type">GList</span> *categories</code></em>);</pre> |
| 892 |
<div class="refsect3"> |
| 893 |
<a name="garcon-menu-item-set-categories.parameters"></a><h4>Parameters</h4> |
| 894 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 895 |
<colgroup> |
| 896 |
<col width="150px" class="parameters_name"> |
| 897 |
<col class="parameters_description"> |
| 898 |
<col width="200px" class="parameters_annotations"> |
| 899 |
</colgroup> |
| 900 |
<tbody> |
| 901 |
<tr> |
| 902 |
<td class="parameter_name"><p>item</p></td> |
| 903 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 904 |
<td class="parameter_annotations"> </td> |
| 905 |
</tr> |
| 906 |
<tr> |
| 907 |
<td class="parameter_name"><p>categories</p></td> |
| 908 |
<td class="parameter_description"><p>list of categories. </p></td> |
| 909 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td> |
| 910 |
</tr> |
| 911 |
</tbody> |
| 912 |
</table></div> |
| 913 |
</div> |
| 914 |
</div> |
| 915 |
<hr> |
| 916 |
<div class="refsect2"> |
| 917 |
<a name="garcon-menu-item-has-category"></a><h3>garcon_menu_item_has_category ()</h3> |
| 918 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 919 |
garcon_menu_item_has_category (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 920 |
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre> |
| 921 |
</div> |
| 922 |
<hr> |
| 923 |
<div class="refsect2"> |
| 924 |
<a name="garcon-menu-item-has-keyword"></a><h3>garcon_menu_item_has_keyword ()</h3> |
| 925 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 926 |
garcon_menu_item_has_keyword (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 927 |
<em class="parameter"><code>const <span class="type">gchar</span> *keyword</code></em>);</pre> |
| 928 |
</div> |
| 929 |
<hr> |
| 930 |
<div class="refsect2"> |
| 931 |
<a name="garcon-menu-item-get-keywords"></a><h3>garcon_menu_item_get_keywords ()</h3> |
| 932 |
<pre class="programlisting"><span class="returnvalue">GList</span> * |
| 933 |
garcon_menu_item_get_keywords (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 934 |
<div class="refsect3"> |
| 935 |
<a name="garcon-menu-item-get-keywords.parameters"></a><h4>Parameters</h4> |
| 936 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 937 |
<colgroup> |
| 938 |
<col width="150px" class="parameters_name"> |
| 939 |
<col class="parameters_description"> |
| 940 |
<col width="200px" class="parameters_annotations"> |
| 941 |
</colgroup> |
| 942 |
<tbody><tr> |
| 943 |
<td class="parameter_name"><p>item</p></td> |
| 944 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 945 |
<td class="parameter_annotations"> </td> |
| 946 |
</tr></tbody> |
| 947 |
</table></div> |
| 948 |
</div> |
| 949 |
<div class="refsect3"> |
| 950 |
<a name="garcon-menu-item-get-keywords.returns"></a><h4>Returns</h4> |
| 951 |
<p>. </p> |
| 952 |
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 953 |
</div> |
| 954 |
</div> |
| 955 |
<hr> |
| 956 |
<div class="refsect2"> |
| 957 |
<a name="garcon-menu-item-set-keywords"></a><h3>garcon_menu_item_set_keywords ()</h3> |
| 958 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 959 |
garcon_menu_item_set_keywords (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 960 |
<em class="parameter"><code><span class="type">GList</span> *keywords</code></em>);</pre> |
| 961 |
<div class="refsect3"> |
| 962 |
<a name="garcon-menu-item-set-keywords.parameters"></a><h4>Parameters</h4> |
| 963 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 964 |
<colgroup> |
| 965 |
<col width="150px" class="parameters_name"> |
| 966 |
<col class="parameters_description"> |
| 967 |
<col width="200px" class="parameters_annotations"> |
| 968 |
</colgroup> |
| 969 |
<tbody> |
| 970 |
<tr> |
| 971 |
<td class="parameter_name"><p>item</p></td> |
| 972 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 973 |
<td class="parameter_annotations"> </td> |
| 974 |
</tr> |
| 975 |
<tr> |
| 976 |
<td class="parameter_name"><p>keywords</p></td> |
| 977 |
<td class="parameter_description"><p>list of keywords. </p></td> |
| 978 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td> |
| 979 |
</tr> |
| 980 |
</tbody> |
| 981 |
</table></div> |
| 982 |
</div> |
| 983 |
</div> |
| 984 |
<hr> |
| 985 |
<div class="refsect2"> |
| 986 |
<a name="garcon-menu-item-get-actions"></a><h3>garcon_menu_item_get_actions ()</h3> |
| 987 |
<pre class="programlisting"><span class="returnvalue">GList</span> * |
| 988 |
garcon_menu_item_get_actions (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 989 |
<div class="refsect3"> |
| 990 |
<a name="garcon-menu-item-get-actions.parameters"></a><h4>Parameters</h4> |
| 991 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 992 |
<colgroup> |
| 993 |
<col width="150px" class="parameters_name"> |
| 994 |
<col class="parameters_description"> |
| 995 |
<col width="200px" class="parameters_annotations"> |
| 996 |
</colgroup> |
| 997 |
<tbody><tr> |
| 998 |
<td class="parameter_name"><p>item</p></td> |
| 999 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 1000 |
<td class="parameter_annotations"> </td> |
| 1001 |
</tr></tbody> |
| 1002 |
</table></div> |
| 1003 |
</div> |
| 1004 |
<div class="refsect3"> |
| 1005 |
<a name="garcon-menu-item-get-actions.returns"></a><h4>Returns</h4> |
| 1006 |
<p>list of action name. </p> |
| 1007 |
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="The caller owns the data container, but not the data inside it."><span class="acronym">transfer container</span></acronym>]</span></p> |
| 1008 |
</div> |
| 1009 |
</div> |
| 1010 |
<hr> |
| 1011 |
<div class="refsect2"> |
| 1012 |
<a name="garcon-menu-item-get-action"></a><h3>garcon_menu_item_get_action ()</h3> |
| 1013 |
<pre class="programlisting"><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="returnvalue">GarconMenuItemAction</span></a> * |
| 1014 |
garcon_menu_item_get_action (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 1015 |
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>);</pre> |
| 1016 |
<div class="refsect3"> |
| 1017 |
<a name="garcon-menu-item-get-action.parameters"></a><h4>Parameters</h4> |
| 1018 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1019 |
<colgroup> |
| 1020 |
<col width="150px" class="parameters_name"> |
| 1021 |
<col class="parameters_description"> |
| 1022 |
<col width="200px" class="parameters_annotations"> |
| 1023 |
</colgroup> |
| 1024 |
<tbody><tr> |
| 1025 |
<td class="parameter_name"><p>item</p></td> |
| 1026 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a></p></td> |
| 1027 |
<td class="parameter_annotations"> </td> |
| 1028 |
</tr></tbody> |
| 1029 |
</table></div> |
| 1030 |
</div> |
| 1031 |
<div class="refsect3"> |
| 1032 |
<a name="garcon-menu-item-get-action.returns"></a><h4>Returns</h4> |
| 1033 |
<p>a <a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a>. </p> |
| 1034 |
<p><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>][<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 1035 |
</div> |
| 1036 |
</div> |
| 1037 |
<hr> |
| 1038 |
<div class="refsect2"> |
| 1039 |
<a name="garcon-menu-item-set-action"></a><h3>garcon_menu_item_set_action ()</h3> |
| 1040 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1041 |
garcon_menu_item_set_action (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 1042 |
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>, |
| 1043 |
<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>);</pre> |
| 1044 |
</div> |
| 1045 |
<hr> |
| 1046 |
<div class="refsect2"> |
| 1047 |
<a name="garcon-menu-item-has-action"></a><h3>garcon_menu_item_has_action ()</h3> |
| 1048 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 1049 |
garcon_menu_item_has_action (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>, |
| 1050 |
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>);</pre> |
| 1051 |
</div> |
| 1052 |
<hr> |
| 1053 |
<div class="refsect2"> |
| 1054 |
<a name="garcon-menu-item-get-show-in-environment"></a><h3>garcon_menu_item_get_show_in_environment ()</h3> |
| 1055 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 1056 |
garcon_menu_item_get_show_in_environment |
| 1057 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1058 |
</div> |
| 1059 |
<hr> |
| 1060 |
<div class="refsect2"> |
| 1061 |
<a name="garcon-menu-item-only-show-in-environment"></a><h3>garcon_menu_item_only_show_in_environment ()</h3> |
| 1062 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 1063 |
garcon_menu_item_only_show_in_environment |
| 1064 |
(<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1065 |
</div> |
| 1066 |
<hr> |
| 1067 |
<div class="refsect2"> |
| 1068 |
<a name="garcon-menu-item-ref"></a><h3>garcon_menu_item_ref ()</h3> |
| 1069 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1070 |
garcon_menu_item_ref (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1071 |
</div> |
| 1072 |
<hr> |
| 1073 |
<div class="refsect2"> |
| 1074 |
<a name="garcon-menu-item-unref"></a><h3>garcon_menu_item_unref ()</h3> |
| 1075 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1076 |
garcon_menu_item_unref (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1077 |
</div> |
| 1078 |
<hr> |
| 1079 |
<div class="refsect2"> |
| 1080 |
<a name="garcon-menu-item-get-allocated"></a><h3>garcon_menu_item_get_allocated ()</h3> |
| 1081 |
<pre class="programlisting"><span class="returnvalue">gint</span> |
| 1082 |
garcon_menu_item_get_allocated (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1083 |
</div> |
| 1084 |
<hr> |
| 1085 |
<div class="refsect2"> |
| 1086 |
<a name="garcon-menu-item-increment-allocated"></a><h3>garcon_menu_item_increment_allocated ()</h3> |
| 1087 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1088 |
garcon_menu_item_increment_allocated (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1089 |
</div> |
| 1090 |
<hr> |
| 1091 |
<div class="refsect2"> |
| 1092 |
<a name="garcon-menu-item-decrement-allocated"></a><h3>garcon_menu_item_decrement_allocated ()</h3> |
| 1093 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1094 |
garcon_menu_item_decrement_allocated (<em class="parameter"><code><a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item</code></em>);</pre> |
| 1095 |
</div> |
| 1096 |
</div> |
| 1097 |
<div class="refsect1"> |
| 1098 |
<a name="GarconMenuItem.property-details"></a><h2>Property Details</h2> |
| 1099 |
<div class="refsect2"> |
| 1100 |
<a name="GarconMenuItem--command"></a><h3>The <code class="literal">“command”</code> property</h3> |
| 1101 |
<pre class="programlisting"> “command” <span class="type">char</span> *</pre> |
| 1102 |
<p>Command to be executed when the menu item is clicked.</p> |
| 1103 |
<p>Owner: GarconMenuItem</p> |
| 1104 |
<p>Flags: Read / Write</p> |
| 1105 |
<p>Default value: NULL</p> |
| 1106 |
</div> |
| 1107 |
<hr> |
| 1108 |
<div class="refsect2"> |
| 1109 |
<a name="GarconMenuItem--comment"></a><h3>The <code class="literal">“comment”</code> property</h3> |
| 1110 |
<pre class="programlisting"> “comment” <span class="type">char</span> *</pre> |
| 1111 |
<p>Comment/description for the application. To be displayed e.g. in tooltips of |
| 1112 |
GtkMenuItems.</p> |
| 1113 |
<p>Owner: GarconMenuItem</p> |
| 1114 |
<p>Flags: Read / Write</p> |
| 1115 |
<p>Default value: NULL</p> |
| 1116 |
</div> |
| 1117 |
<hr> |
| 1118 |
<div class="refsect2"> |
| 1119 |
<a name="GarconMenuItem--desktop-id"></a><h3>The <code class="literal">“desktop-id”</code> property</h3> |
| 1120 |
<pre class="programlisting"> “desktop-id” <span class="type">char</span> *</pre> |
| 1121 |
<p>The desktop-file id of this application.</p> |
| 1122 |
<p>Owner: GarconMenuItem</p> |
| 1123 |
<p>Flags: Read / Write</p> |
| 1124 |
<p>Default value: NULL</p> |
| 1125 |
</div> |
| 1126 |
<hr> |
| 1127 |
<div class="refsect2"> |
| 1128 |
<a name="GarconMenuItem--file"></a><h3>The <code class="literal">“file”</code> property</h3> |
| 1129 |
<pre class="programlisting"> “file” <span class="type">GFile</span> *</pre> |
| 1130 |
<p>The <span class="type">GFile</span> from which the <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><code class="literal">GarconMenuItem</code></a> was loaded.</p> |
| 1131 |
<p>Owner: GarconMenuItem</p> |
| 1132 |
<p>Flags: Read / Write / Construct Only</p> |
| 1133 |
</div> |
| 1134 |
<hr> |
| 1135 |
<div class="refsect2"> |
| 1136 |
<a name="GarconMenuItem--generic-name"></a><h3>The <code class="literal">“generic-name”</code> property</h3> |
| 1137 |
<pre class="programlisting"> “generic-name” <span class="type">char</span> *</pre> |
| 1138 |
<p>GenericName of the application (will be displayed in menus etc.).</p> |
| 1139 |
<p>Owner: GarconMenuItem</p> |
| 1140 |
<p>Flags: Read / Write</p> |
| 1141 |
<p>Default value: NULL</p> |
| 1142 |
</div> |
| 1143 |
<hr> |
| 1144 |
<div class="refsect2"> |
| 1145 |
<a name="GarconMenuItem--hidden"></a><h3>The <code class="literal">“hidden”</code> property</h3> |
| 1146 |
<pre class="programlisting"> “hidden” <span class="type">gboolean</span></pre> |
| 1147 |
<p>It means the user deleted (at his level) something that was present |
| 1148 |
(at an upper level, e.g. in the system dirs). It's strictly equivalent |
| 1149 |
to the .desktop file not existing at all, as far as that user is concerned.</p> |
| 1150 |
<p>Owner: GarconMenuItem</p> |
| 1151 |
<p>Flags: Read / Write</p> |
| 1152 |
<p>Default value: FALSE</p> |
| 1153 |
</div> |
| 1154 |
<hr> |
| 1155 |
<div class="refsect2"> |
| 1156 |
<a name="GarconMenuItem--icon-name"></a><h3>The <code class="literal">“icon-name”</code> property</h3> |
| 1157 |
<pre class="programlisting"> “icon-name” <span class="type">char</span> *</pre> |
| 1158 |
<p>Name of the icon to be displayed for this menu item.</p> |
| 1159 |
<p>Owner: GarconMenuItem</p> |
| 1160 |
<p>Flags: Read / Write</p> |
| 1161 |
<p>Default value: NULL</p> |
| 1162 |
</div> |
| 1163 |
<hr> |
| 1164 |
<div class="refsect2"> |
| 1165 |
<a name="GarconMenuItem--name"></a><h3>The <code class="literal">“name”</code> property</h3> |
| 1166 |
<pre class="programlisting"> “name” <span class="type">char</span> *</pre> |
| 1167 |
<p>Name of the application (will be displayed in menus etc.).</p> |
| 1168 |
<p>Owner: GarconMenuItem</p> |
| 1169 |
<p>Flags: Read / Write</p> |
| 1170 |
<p>Default value: NULL</p> |
| 1171 |
</div> |
| 1172 |
<hr> |
| 1173 |
<div class="refsect2"> |
| 1174 |
<a name="GarconMenuItem--no-display"></a><h3>The <code class="literal">“no-display”</code> property</h3> |
| 1175 |
<pre class="programlisting"> “no-display” <span class="type">gboolean</span></pre> |
| 1176 |
<p>Whether this menu item is hidden in menus.</p> |
| 1177 |
<p>Owner: GarconMenuItem</p> |
| 1178 |
<p>Flags: Read / Write</p> |
| 1179 |
<p>Default value: FALSE</p> |
| 1180 |
</div> |
| 1181 |
<hr> |
| 1182 |
<div class="refsect2"> |
| 1183 |
<a name="GarconMenuItem--path"></a><h3>The <code class="literal">“path”</code> property</h3> |
| 1184 |
<pre class="programlisting"> “path” <span class="type">char</span> *</pre> |
| 1185 |
<p>Working directory the application should be started in.</p> |
| 1186 |
<p>Owner: GarconMenuItem</p> |
| 1187 |
<p>Flags: Read / Write</p> |
| 1188 |
<p>Default value: NULL</p> |
| 1189 |
</div> |
| 1190 |
<hr> |
| 1191 |
<div class="refsect2"> |
| 1192 |
<a name="GarconMenuItem--prefers-non-default-gpu"></a><h3>The <code class="literal">“prefers-non-default-gpu”</code> property</h3> |
| 1193 |
<pre class="programlisting"> “prefers-non-default-gpu” <span class="type">gboolean</span></pre> |
| 1194 |
<p>If true, the application prefers to be run on a more powerful discrete GPU |
| 1195 |
if available.</p> |
| 1196 |
<p>Owner: GarconMenuItem</p> |
| 1197 |
<p>Flags: Read / Write</p> |
| 1198 |
<p>Default value: FALSE</p> |
| 1199 |
</div> |
| 1200 |
<hr> |
| 1201 |
<div class="refsect2"> |
| 1202 |
<a name="GarconMenuItem--requires-terminal"></a><h3>The <code class="literal">“requires-terminal”</code> property</h3> |
| 1203 |
<pre class="programlisting"> “requires-terminal” <span class="type">gboolean</span></pre> |
| 1204 |
<p>Whether this application requires a terinal to be started in.</p> |
| 1205 |
<p>Owner: GarconMenuItem</p> |
| 1206 |
<p>Flags: Read / Write</p> |
| 1207 |
<p>Default value: FALSE</p> |
| 1208 |
</div> |
| 1209 |
<hr> |
| 1210 |
<div class="refsect2"> |
| 1211 |
<a name="GarconMenuItem--supports-startup-notification"></a><h3>The <code class="literal">“supports-startup-notification”</code> property</h3> |
| 1212 |
<pre class="programlisting"> “supports-startup-notification” <span class="type">gboolean</span></pre> |
| 1213 |
<p>Startup notification support.</p> |
| 1214 |
<p>Owner: GarconMenuItem</p> |
| 1215 |
<p>Flags: Read / Write</p> |
| 1216 |
<p>Default value: FALSE</p> |
| 1217 |
</div> |
| 1218 |
<hr> |
| 1219 |
<div class="refsect2"> |
| 1220 |
<a name="GarconMenuItem--try-exec"></a><h3>The <code class="literal">“try-exec”</code> property</h3> |
| 1221 |
<pre class="programlisting"> “try-exec” <span class="type">char</span> *</pre> |
| 1222 |
<p>Path to an executable file on disk used to determine if the program |
| 1223 |
is actually installed. If the path is not an absolute path, the file |
| 1224 |
is looked up in the $PATH environment variable. If the file is not |
| 1225 |
present or if it is not executable, the entry may be ignored (not be |
| 1226 |
used in menus, for example).</p> |
| 1227 |
<p>Owner: GarconMenuItem</p> |
| 1228 |
<p>Flags: Read / Write</p> |
| 1229 |
<p>Default value: NULL</p> |
| 1230 |
</div> |
| 1231 |
</div> |
| 1232 |
<div class="refsect1"> |
| 1233 |
<a name="GarconMenuItem.signal-details"></a><h2>Signal Details</h2> |
| 1234 |
<div class="refsect2"> |
| 1235 |
<a name="GarconMenuItem-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3> |
| 1236 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1237 |
user_function (<a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> *item, |
| 1238 |
<span class="type">gpointer</span> user_data)</pre> |
| 1239 |
<p>Emitted when <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a> has been reloaded.</p> |
| 1240 |
<div class="refsect3"> |
| 1241 |
<a name="GarconMenuItem-changed.parameters"></a><h4>Parameters</h4> |
| 1242 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1243 |
<colgroup> |
| 1244 |
<col width="150px" class="parameters_name"> |
| 1245 |
<col class="parameters_description"> |
| 1246 |
<col width="200px" class="parameters_annotations"> |
| 1247 |
</colgroup> |
| 1248 |
<tbody> |
| 1249 |
<tr> |
| 1250 |
<td class="parameter_name"><p>item</p></td> |
| 1251 |
<td class="parameter_description"><p>a <a class="link" href="GarconMenuItem.html" title="GarconMenuItem"><span class="type">GarconMenuItem</span></a>.</p></td> |
| 1252 |
<td class="parameter_annotations"> </td> |
| 1253 |
</tr> |
| 1254 |
<tr> |
| 1255 |
<td class="parameter_name"><p>user_data</p></td> |
| 1256 |
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> |
| 1257 |
<td class="parameter_annotations"> </td> |
| 1258 |
</tr> |
| 1259 |
</tbody> |
| 1260 |
</table></div> |
| 1261 |
</div> |
| 1262 |
<p>Flags: Run First</p> |
| 1263 |
</div> |
| 1264 |
</div> |
| 1265 |
</div> |
| 1266 |
<div class="footer"> |
| 1267 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 1268 |
</body> |
| 1269 |
</html> |