/usr/share/gtk-doc/html/libxfcegui4/XfceAppMenuItem.html is in libxfcegui4-dev 4.10.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XfceAppMenuItem</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libxfcegui4 Reference Manual">
<link rel="up" href="libxfcegui4-core.html" title="Xfce GUI Core Reference">
<link rel="prev" href="XfceAboutDialog.html" title="XfceAboutDialog">
<link rel="next" href="libxfcegui4-XfceFileChooser.html" title="XfceFileChooser">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="XfceAboutDialog.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libxfcegui4-core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libxfcegui4 Reference Manual</th>
<td><a accesskey="n" href="libxfcegui4-XfceFileChooser.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#XfceAppMenuItem.synopsis" class="shortcut">Top</a>
|
<a href="#XfceAppMenuItem.description" class="shortcut">Description</a>
|
<a href="#XfceAppMenuItem.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#XfceAppMenuItem.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#XfceAppMenuItem.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="XfceAppMenuItem"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="XfceAppMenuItem.top_of_page"></a>XfceAppMenuItem</span></h2>
<p>XfceAppMenuItem — a <a href="http://library.gnome.org/devel/gtk3/GtkMenuItem.html"><span class="type">GtkMenuItem</span></a> for app launchers.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="XfceAppMenuItem.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libxfcegui4/libxfcegui4.h>
struct <a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem-struct" title="struct XfceAppMenuItem">XfceAppMenuItem</a>;
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new" title="xfce_app_menu_item_new ()">xfce_app_menu_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-with-label" title="xfce_app_menu_item_new_with_label ()">xfce_app_menu_item_new_with_label</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-with-mnemonic" title="xfce_app_menu_item_new_with_mnemonic ()">xfce_app_menu_item_new_with_mnemonic</a>
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-with-command" title="xfce_app_menu_item_new_with_command ()">xfce_app_menu_item_new_with_command</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-full" title="xfce_app_menu_item_new_full ()">xfce_app_menu_item_new_full</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_filename</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> needs_term</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> snotify</code></em>);
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-from-desktop-entry" title="xfce_app_menu_item_new_from_desktop_entry ()">xfce_app_menu_item_new_from_desktop_entry</a>
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *entry</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_icon</code></em>);
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-name" title="xfce_app_menu_item_set_name ()">xfce_app_menu_item_set_name</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-icon-name" title="xfce_app_menu_item_set_icon_name ()">xfce_app_menu_item_set_icon_name</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-command" title="xfce_app_menu_item_set_command ()">xfce_app_menu_item_set_command</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-needs-term" title="xfce_app_menu_item_set_needs_term ()">xfce_app_menu_item_set_needs_term</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> needs_term</code></em>);
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-startup-notification" title="xfce_app_menu_item_set_startup_notification ()">xfce_app_menu_item_set_startup_notification</a>
(<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> snotify</code></em>);
#define <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-image" title="xfce_app_menu_item_set_image()">xfce_app_menu_item_set_image</a> (mi,
img)
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-get-name" title="xfce_app_menu_item_get_name ()">xfce_app_menu_item_get_name</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-get-icon-name" title="xfce_app_menu_item_get_icon_name ()">xfce_app_menu_item_get_icon_name</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-get-command" title="xfce_app_menu_item_get_command ()">xfce_app_menu_item_get_command</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-get-needs-term" title="xfce_app_menu_item_get_needs_term ()">xfce_app_menu_item_get_needs_term</a> (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-get-startup-notification" title="xfce_app_menu_item_get_startup_notification ()">xfce_app_menu_item_get_startup_notification</a>
(<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);
#define <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-get-image" title="xfce_app_menu_item_get_image()">xfce_app_menu_item_get_image</a> (mi)
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-icon-size" title="xfce_app_menu_item_set_icon_size ()">xfce_app_menu_item_set_icon_size</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> icon_size</code></em>);
<span class="returnvalue">void</span> <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-icon-theme-name" title="xfce_app_menu_item_set_icon_theme_name ()">xfce_app_menu_item_set_icon_theme_name</a>
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme_name</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="XfceAppMenuItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkObject.html">GtkObject</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html">GtkWidget</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkContainer.html">GtkContainer</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkBin.html">GtkBin</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkItem.html">GtkItem</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkMenuItem.html">GtkMenuItem</a>
+----<a href="http://library.gnome.org/devel/gtk3/GtkImageMenuItem.html">GtkImageMenuItem</a>
+----XfceAppMenuItem
</pre>
</div>
<div class="refsect1">
<a name="XfceAppMenuItem.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
XfceAppMenuItem implements
AtkImplementorIface, <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a> and <a href="http://library.gnome.org/devel/gtk3/GtkActivatable.html">GtkActivatable</a>.</p>
</div>
<div class="refsect1">
<a name="XfceAppMenuItem.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem--command" title='The "command" property'>command</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem--icon-name" title='The "icon-name" property'>icon-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem--label" title='The "label" property'>label</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem--needs-term" title='The "needs-term" property'>needs-term</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem--snotify" title='The "snotify" property'>snotify</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="XfceAppMenuItem.html#XfceAppMenuItem--use-underline" title='The "use-underline" property'>use-underline</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="XfceAppMenuItem.description"></a><h2>Description</h2>
<p>
<a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> is a direct subclass of <a href="http://library.gnome.org/devel/gtk3/GtkImageMenuItem.html"><span class="type">GtkImageMenuItem</span></a>, and is intended for
use in application menus. <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> essentially wraps an application:
it knows how to run the application, what it is called, and what icon is used
to represent it. An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> can also be generated directly from an
<span class="type">XfceDesktopEntry</span>.
</p>
</div>
<div class="refsect1">
<a name="XfceAppMenuItem.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="XfceAppMenuItem-struct"></a><h3>struct XfceAppMenuItem</h3>
<pre class="programlisting">struct XfceAppMenuItem;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-new"></a><h3>xfce_app_menu_item_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_app_menu_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> with an empty label.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-new-with-label"></a><h3>xfce_app_menu_item_new_with_label ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_app_menu_item_new_with_label (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<p>
Creates a new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> containing a label.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The text of the menu item.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-new-with-mnemonic"></a><h3>xfce_app_menu_item_new_with_mnemonic ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_app_menu_item_new_with_mnemonic
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<p>
Creates a new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> containing a label. The label
will be created using <a href="http://library.gnome.org/devel/gtk3/GtkLabel.html#gtk-label-new-with-mnemonic"><code class="function">gtk_label_new_with_mnemonic()</code></a>, so underscores
in <em class="parameter"><code>label</code></em> indicate the mnemonic for the menu item.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The text of the menu item, with an underscore in front of the
mnemonic character.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-new-with-command"></a><h3>xfce_app_menu_item_new_with_command ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_app_menu_item_new_with_command (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);</pre>
<p>
Creates a new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> containing a label. The item's <em class="parameter"><code>activate</code></em>
signal will be connected such that <em class="parameter"><code>command</code></em> will run when it is clicked.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The text of the menu item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
<td>The command associated with the menu item.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-new-full"></a><h3>xfce_app_menu_item_new_full ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_app_menu_item_new_full (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_filename</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> needs_term</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> snotify</code></em>);</pre>
<p>
Single-function interface to create an <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>. Has the effect of
calling <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-with-label" title="xfce_app_menu_item_new_with_label ()"><code class="function">xfce_app_menu_item_new_with_label()</code></a> followed by all the
xfce_app_menu_item_set_*() functions.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The text of the menu item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
<td>The command associated with the menu item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_filename</code></em> :</span></p></td>
<td>The filename of the icon.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>needs_term</code></em> :</span></p></td>
<td>TRUE if the application needs a terminal, FALSE if not.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>snotify</code></em> :</span></p></td>
<td>TRUE if the application supports startup notification, FALSE if
not.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-new-from-desktop-entry"></a><h3>xfce_app_menu_item_new_from_desktop_entry ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_app_menu_item_new_from_desktop_entry
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *entry</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_icon</code></em>);</pre>
<p>
Creates a new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> using parameters from the application
specified in a <span class="type">XfceDesktopEntry</span> object. This has the effect of calling
<a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-new-with-command" title="xfce_app_menu_item_new_with_command ()"><code class="function">xfce_app_menu_item_new_with_command()</code></a>, <a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-needs-term" title="xfce_app_menu_item_set_needs_term ()"><code class="function">xfce_app_menu_item_set_needs_term()</code></a>,
<a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-icon-name" title="xfce_app_menu_item_set_icon_name ()"><code class="function">xfce_app_menu_item_set_icon_name()</code></a>, and
<a class="link" href="XfceAppMenuItem.html#xfce-app-menu-item-set-startup-notification" title="xfce_app_menu_item_set_startup_notification ()"><code class="function">xfce_app_menu_item_set_startup_notification()</code></a>.
</p>
<p>
In Xfce 4.10 this function only returns NULL, since XfceDesktopEntry was
removed from libxfce4util.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>An <span class="type">XfceDesktopEntry</span> describing the menu item to create.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_icon</code></em> :</span></p></td>
<td>Sets whether or not to show an icon in the menu item.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-name"></a><h3>xfce_app_menu_item_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_name (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Sets <em class="parameter"><code>name</code></em> as the displayed name of the <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The name of the menu item the menu item.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-icon-name"></a><h3>xfce_app_menu_item_set_icon_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_icon_name (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
<p>
Sets the icon of the <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> using the specified filename. If
the filename doesn't have a full pathname, standard icon search paths
will be used. If the filename doesn't have an extension, the best image
format found (if any) will be used. If there is already an icon set, the
current one is freed, regardless if the icon is found or not.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>an <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>The filename of the icon.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-command"></a><h3>xfce_app_menu_item_set_command ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_command (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);</pre>
<p>
Sets <em class="parameter"><code>command</code></em> as the command run when the <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> is clicked.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
<td>The command to associate with the menu item.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-needs-term"></a><h3>xfce_app_menu_item_set_needs_term ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_needs_term (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> needs_term</code></em>);</pre>
<p>
Sets whether or not the command executed by this <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> requires
a terminal window to run.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>needs_term</code></em> :</span></p></td>
<td>TRUE if the application needs a terminal, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-startup-notification"></a><h3>xfce_app_menu_item_set_startup_notification ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_startup_notification
(<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> snotify</code></em>);</pre>
<p>
Sets whether or not the application supports startup notification.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>snotify</code></em> :</span></p></td>
<td>TRUE if the application supports startup notification, FALSE if
not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-image"></a><h3>xfce_app_menu_item_set_image()</h3>
<pre class="programlisting">#define xfce_app_menu_item_set_image(mi, img) gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(mi), img)
</pre>
<p>
Sets <em class="parameter"><code>img</code></em> as the <a href="http://library.gnome.org/devel/gtk3/GtkImage.html"><span class="type">GtkImage</span></a> widget that displays the icon for <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>
<em class="parameter"><code>mi</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mi</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>img</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk3/GtkImage.html"><span class="type">GtkImage</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-get-name"></a><h3>xfce_app_menu_item_get_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * xfce_app_menu_item_get_name (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);</pre>
<p>
Returns the current name/label set for the <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>, or NULL.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A name/label string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-get-icon-name"></a><h3>xfce_app_menu_item_get_icon_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * xfce_app_menu_item_get_icon_name (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);</pre>
<p>
Returns the current icon name set for the <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>, or NULL.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>An icon name string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-get-command"></a><h3>xfce_app_menu_item_get_command ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * xfce_app_menu_item_get_command (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);</pre>
<p>
Returns the current command set for the <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>, or NULL.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A command string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-get-needs-term"></a><h3>xfce_app_menu_item_get_needs_term ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_app_menu_item_get_needs_term (<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);</pre>
<p>
Checks whether or not the command executed by this <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> requires
a terminal window to run.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the item will spawn a terminal, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-get-startup-notification"></a><h3>xfce_app_menu_item_get_startup_notification ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> xfce_app_menu_item_get_startup_notification
(<em class="parameter"><code><a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> *app_menu_item</code></em>);</pre>
<p>
Checks whether or not the command executed by this <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> supports
startup notification.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app_menu_item</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the item supports startup notification, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-get-image"></a><h3>xfce_app_menu_item_get_image()</h3>
<pre class="programlisting">#define xfce_app_menu_item_get_image(mi) gtk_image_menu_item_get_image(GTK_IMAGE_MENU_ITEM(mi))
</pre>
<p>
Gets the <a href="http://library.gnome.org/devel/gtk3/GtkImage.html"><span class="type">GtkImage</span></a> widget associated with <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> <em class="parameter"><code>mi</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mi</code></em> :</span></p></td>
<td>An <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk3/GtkImage.html"><span class="type">GtkImage</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-icon-size"></a><h3>xfce_app_menu_item_set_icon_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_icon_size (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> icon_size</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">xfce_app_menu_item_set_icon_size</code> is deprecated and should not be used in newly-written code. This function currently does nothing; the 'menu' icon size
is always used.
</p>
<p>
Since 4.1</p>
</div>
<p>
Sets the icon size that should be used when constructing <a href="XfceAppMenuItem.html"><span class="type">XfceAppMenuItems</span></a>
with icons. This is a <em class="parameter"><code>static</code></em> method and does not need an instance of
<a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> to exist before it is called.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>icon_size</code></em> :</span></p></td>
<td>An icon size, in pixels.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="xfce-app-menu-item-set-icon-theme-name"></a><h3>xfce_app_menu_item_set_icon_theme_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_app_menu_item_set_icon_theme_name
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme_name</code></em>);</pre>
<p>
Sets the icon theme name that should be used when looking for icons for
<a href="XfceAppMenuItem.html"><span class="type">XfceAppMenuItems</span></a>. This is a <em class="parameter"><code>static</code></em> method and does not need an instance
of <a class="link" href="XfceAppMenuItem.html" title="XfceAppMenuItem"><span class="type">XfceAppMenuItem</span></a> to exist before it is called.
</p>
<p>
Since 4.1
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>theme_name</code></em> :</span></p></td>
<td>A theme name.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="XfceAppMenuItem.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="XfceAppMenuItem--command"></a><h3>The <code class="literal">"command"</code> property</h3>
<pre class="programlisting"> "command" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The command to run when the item is clicked.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="XfceAppMenuItem--icon-name"></a><h3>The <code class="literal">"icon-name"</code> property</h3>
<pre class="programlisting"> "icon-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The name of the themed icon to display next to the item.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="XfceAppMenuItem--label"></a><h3>The <code class="literal">"label"</code> property</h3>
<pre class="programlisting"> "label" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The label displayed in the item.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="XfceAppMenuItem--needs-term"></a><h3>The <code class="literal">"needs-term"</code> property</h3>
<pre class="programlisting"> "needs-term" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Whether or not the command needs a terminal to execute.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="XfceAppMenuItem--snotify"></a><h3>The <code class="literal">"snotify"</code> property</h3>
<pre class="programlisting"> "snotify" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Whether or not the app supports startup notification.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="XfceAppMenuItem--use-underline"></a><h3>The <code class="literal">"use-underline"</code> property</h3>
<pre class="programlisting"> "use-underline" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Whether or not to use an underscore in the label as a keyboard mnemonic.</p>
<p>Default value: FALSE</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|