/usr/share/gtk-doc/html/libanjuta/AnjutaUI.html is in libanjuta-dev 2:3.14.0-1.
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 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AnjutaUI</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Anjuta Developers Reference Manual">
<link rel="up" href="libanjuta-api.html" title="libanjuta API">
<link rel="prev" href="AnjutaPreferencesDialog.html" title="AnjutaPreferencesDialog">
<link rel="next" href="AnjutaStatus.html" title="AnjutaStatus">
<meta name="generator" content="GTK-Doc V1.19 (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="AnjutaPreferencesDialog.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libanjuta-api.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">Anjuta Developers Reference Manual</th>
<td><a accesskey="n" href="AnjutaStatus.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#AnjutaUI.synopsis" class="shortcut">Top</a>
|
<a href="#AnjutaUI.description" class="shortcut">Description</a>
|
<a href="#AnjutaUI.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#AnjutaUI.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry">
<a name="AnjutaUI"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="AnjutaUI.top_of_page"></a>AnjutaUI</span></h2>
<p>AnjutaUI — User Interface manager</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="AnjutaUI.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="AnjutaUI.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libanjuta/>
struct <a class="link" href="AnjutaUI.html#AnjutaUI-struct" title="struct AnjutaUI">AnjutaUI</a>;
struct <a class="link" href="AnjutaUI.html#AnjutaUIClass" title="struct AnjutaUIClass">AnjutaUIClass</a>;
<a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="returnvalue">AnjutaUI</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-new" title="anjuta_ui_new ()">anjuta_ui_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="returnvalue">GtkActionGroup</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-add-action-group-entries" title="anjuta_ui_add_action_group_entries ()">anjuta_ui_add_action_group_entries</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_group_label</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkActionEntry"><span class="type">GtkActionEntry</span></a> *entries</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_entries</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> *translation_domain</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> can_customize</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="returnvalue">GtkActionGroup</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-add-toggle-action-group-entries" title="anjuta_ui_add_toggle_action_group_entries ()">anjuta_ui_add_toggle_action_group_entries</a>
(<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_group_label</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkToggleActionEntry"><span class="type">GtkToggleActionEntry</span></a> *entries</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_entries</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> *translation_domain</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> can_customize</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-add-action-group" title="anjuta_ui_add_action_group ()">anjuta_ui_add_action_group</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_group_label</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> *action_group</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> can_customize</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-remove-action-group" title="anjuta_ui_remove_action_group ()">anjuta_ui_remove_action_group</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> *action_group</code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="returnvalue">GtkAction</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-get-action" title="anjuta_ui_get_action ()">anjuta_ui_get_action</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-activate-action-by-path" title="anjuta_ui_activate_action_by_path ()">anjuta_ui_activate_action_by_path</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_path</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-activate-action-by-group" title="anjuta_ui_activate_action_by_group ()">anjuta_ui_activate_action_by_group</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> *action_group</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> *action_name</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="AnjutaUI.html#anjuta-ui-merge" title="anjuta_ui_merge ()">anjuta_ui_merge</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *ui_filename</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-unmerge" title="anjuta_ui_unmerge ()">anjuta_ui_unmerge</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-get-icon-factory" title="anjuta_ui_get_icon_factory ()">anjuta_ui_get_icon_factory</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-get-accel-group" title="anjuta_ui_get_accel_group ()">anjuta_ui_get_accel_group</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);
<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="AnjutaUI.html#anjuta-ui-get-accel-editor" title="anjuta_ui_get_accel_editor ()">anjuta_ui_get_accel_editor</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-dump-tree" title="anjuta_ui_dump_tree ()">anjuta_ui_dump_tree</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-load-accels" title="anjuta_ui_load_accels ()">anjuta_ui_load_accels</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> *filename</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-save-accels" title="anjuta_ui_save_accels ()">anjuta_ui_save_accels</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> *filename</code></em>);
<span class="returnvalue">void</span> <a class="link" href="AnjutaUI.html#anjuta-ui-unload-accels" title="anjuta_ui_unload_accels ()">anjuta_ui_unload_accels</a> (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);
#define <a class="link" href="AnjutaUI.html#BEGIN-REGISTER-ICON:CAPS" title="BEGIN_REGISTER_ICON()">BEGIN_REGISTER_ICON</a> (plugin)
#define <a class="link" href="AnjutaUI.html#REGISTER-ICON-FULL:CAPS" title="REGISTER_ICON_FULL()">REGISTER_ICON_FULL</a> (icon,
stock_id)
#define <a class="link" href="AnjutaUI.html#REGISTER-ICON:CAPS" title="REGISTER_ICON()">REGISTER_ICON</a> (icon,
stock_id)
#define <a class="link" href="AnjutaUI.html#END-REGISTER-ICON:CAPS" title="END_REGISTER_ICON">END_REGISTER_ICON</a>
</pre>
</div>
<div class="refsect1">
<a name="AnjutaUI.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="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html">GtkUIManager</a>
+----AnjutaUI
</pre>
</div>
<div class="refsect1">
<a name="AnjutaUI.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
AnjutaUI implements
<a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="AnjutaUI.description"></a><h2>Description</h2>
<p>
<a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> subclasses <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a>, so you should really read <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a>
documentation first to know about Actions, UI merging and UI XML file
format. This documentation will cover only the relevent APIs.
</p>
<p>
<a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> has its own methods for adding action groups, which is differnt
from <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a> methods. All <a class="link" href="AnjutaPlugin.html" title="AnjutaPlugin"><span class="type">AnjutaPlugin</span></a> based classes should use
these methods instead of <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a> methods. The reason is, in addition
to adding the actions and groups to the UI manager, it also resgisters
them for UI customization and accellerators editing. It also keeps
record of all actions.
</p>
<p>
An interesting side effect of this is that these
actions could be conveniently accessed or activated with
<a class="link" href="AnjutaUI.html#anjuta-ui-get-action" title="anjuta_ui_get_action ()"><code class="function">anjuta_ui_get_action()</code></a> or <a class="link" href="AnjutaUI.html#anjuta-ui-activate-action-by-path" title="anjuta_ui_activate_action_by_path ()"><code class="function">anjuta_ui_activate_action_by_path()</code></a>, without
the need of original action group object. This makes it is possible for
activating actions remotely from other plugins.
</p>
<p>
<a class="link" href="AnjutaUI.html#anjuta-ui-get-accel-editor" title="anjuta_ui_get_accel_editor ()"><code class="function">anjuta_ui_get_accel_editor()</code></a> will return a widget containing the
UI customization and accellerators editor. All actions and action groups
are organized into a tree view, which should be added to a visible
container (e.g. a <a href="/usr/share/gtk-doc/html/gtk3/GtkDialog.html"><span class="type">GtkDialog</span></a> based object) and displayed to users.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
Any actions additions/removals using <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a> are not
registred with <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> and hence their accellerators
cannot be edited. Nor will they be listed in UI manager
dialog. Hence, use <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> methods whenever possible.
</p>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="AnjutaUI.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="AnjutaUI-struct"></a><h3>struct AnjutaUI</h3>
<pre class="programlisting">struct AnjutaUI;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="AnjutaUIClass"></a><h3>struct AnjutaUIClass</h3>
<pre class="programlisting">struct AnjutaUIClass {
GtkUIManagerClass parent;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-new"></a><h3>anjuta_ui_new ()</h3>
<pre class="programlisting"><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="returnvalue">AnjutaUI</span></a> * anjuta_ui_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new instance of <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-add-action-group-entries"></a><h3>anjuta_ui_add_action_group_entries ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="returnvalue">GtkActionGroup</span></a> * anjuta_ui_add_action_group_entries (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_group_label</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkActionEntry"><span class="type">GtkActionEntry</span></a> *entries</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_entries</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> *translation_domain</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> can_customize</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
<a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="type">GtkAction</span></a> objects are created from the <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkActionEntry"><span class="type">GtkActionEntry</span></a> structures and
added to the UI Manager. "activate" signal of <a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="type">GtkAction</span></a> is connected for
all the action objects using the callback in the entry structure and the
<em class="parameter"><code>user_data</code></em> passed here.
</p>
<p>
This group of actions are registered with the name <em class="parameter"><code>action_group_name</code></em>
in <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a>. A <a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="type">GtkAction</span></a> object from this action group can be later
retrieved by <a class="link" href="AnjutaUI.html#anjuta-ui-get-action" title="anjuta_ui_get_action ()"><code class="function">anjuta_ui_get_action()</code></a> using <em class="parameter"><code>action_group_name</code></em> and action name.
<em class="parameter"><code>action_group_label</code></em> is used as the display name for the action group in
UI manager dialog where action shortcuts are configured.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_name</code></em> :</span></p></td>
<td>Untranslated name of the action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_label</code></em> :</span></p></td>
<td>Translated label of the action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
<td>An array of action entries. <span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=num_entries]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num_entries</code></em> :</span></p></td>
<td>Number of elements in the action entries array.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>translation_domain</code></em> :</span></p></td>
<td>The translation domain used to translated the entries.
It is usually the GETTEXT_PACKAGE macro in a project.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>can_customize</code></em> :</span></p></td>
<td>If true the actions are customizable by user.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>User data to pass to action objects. This is the data that
will come as user_data in "activate" signal of the actions.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> object holding all the
action objects. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-add-toggle-action-group-entries"></a><h3>anjuta_ui_add_toggle_action_group_entries ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="returnvalue">GtkActionGroup</span></a> * anjuta_ui_add_toggle_action_group_entries
(<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_group_label</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkToggleActionEntry"><span class="type">GtkToggleActionEntry</span></a> *entries</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_entries</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> *translation_domain</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> can_customize</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
This is similar to <a class="link" href="AnjutaUI.html#anjuta-ui-add-action-group-entries" title="anjuta_ui_add_action_group_entries ()"><code class="function">anjuta_ui_add_action_group_entries()</code></a>, except that
it adds <a href="/usr/share/gtk-doc/html/gtk3/GtkToggleAction.html"><span class="type">GtkToggleAction</span></a> objects after creating them from the <em class="parameter"><code>entries</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_name</code></em> :</span></p></td>
<td>Untranslated name of the action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_label</code></em> :</span></p></td>
<td>Translated label of the action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
<td>An array of action entries. <span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=num_entries]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num_entries</code></em> :</span></p></td>
<td>Number of elements in the action entries array.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>translation_domain</code></em> :</span></p></td>
<td>The translation domain used to translated the entries.
It is usually the GETTEXT_PACKAGE macro in a project.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>User data to pass to action objects. This is the data that
will come as user_data in "activate" signal of the actions.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> object holding all the
action objects. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-add-action-group"></a><h3>anjuta_ui_add_action_group ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_add_action_group (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_group_label</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> *action_group</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> can_customize</code></em>);</pre>
<p>
This is similar to <a class="link" href="AnjutaUI.html#anjuta-ui-add-action-group-entries" title="anjuta_ui_add_action_group_entries ()"><code class="function">anjuta_ui_add_action_group_entries()</code></a>, except that
it adds <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> object <em class="parameter"><code>action_group</code></em> directly. All actions in this
group are automatically registered in <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> and can be retrieved
normally with <a class="link" href="AnjutaUI.html#anjuta-ui-get-action" title="anjuta_ui_get_action ()"><code class="function">anjuta_ui_get_action()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_name</code></em> :</span></p></td>
<td>Untranslated name of the action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_label</code></em> :</span></p></td>
<td>Translated label of the action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> object to add. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-remove-action-group"></a><h3>anjuta_ui_remove_action_group ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_remove_action_group (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> *action_group</code></em>);</pre>
<p>
Removes a previous added action group. All actions in this group are
also unregistered from UI manager.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> object to remove.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-get-action"></a><h3>anjuta_ui_get_action ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="returnvalue">GtkAction</span></a> * anjuta_ui_get_action (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_group_name</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> *action_name</code></em>);</pre>
<p>
Returns the action object with the name <em class="parameter"><code>action_name</code></em> in <em class="parameter"><code>action_group_name</code></em>.
Note that it will be only sucessully returned if the group has been added
using methods in <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>This <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group_name</code></em> :</span></p></td>
<td>Group name.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_name</code></em> :</span></p></td>
<td>Action name.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="type">GtkAction</span></a> object. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-activate-action-by-path"></a><h3>anjuta_ui_activate_action_by_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_activate_action_by_path (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *action_path</code></em>);</pre>
<p>
Activates the action represented by <em class="parameter"><code>action_path</code></em>. The path is in the form
"ActionGroupName/ActionName". Note that it will only work if the group has
been added using methods in <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>This <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_path</code></em> :</span></p></td>
<td>Path of the action in the form "GroupName/ActionName"</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-activate-action-by-group"></a><h3>anjuta_ui_activate_action_by_group ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_activate_action_by_group (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> *action_group</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> *action_name</code></em>);</pre>
<p>
Activates the action <em class="parameter"><code>action_name</code></em> in the <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a> <em class="parameter"><code>action_group</code></em>.
"ActionGroupName/ActionName". Note that it will only work if the group has
been added using methods in <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>This <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_group</code></em> :</span></p></td>
<td>Action group.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_name</code></em> :</span></p></td>
<td>Action name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-merge"></a><h3>anjuta_ui_merge ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> anjuta_ui_merge (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</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> *ui_filename</code></em>);</pre>
<p>
Merges XML UI definition in <em class="parameter"><code>ui_filename</code></em>. UI elements defined in the xml
are merged with existing UI elements in UI manager. The format of the
file content is the standard XML UI definition tree. For more detail,
read the documentation for <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui_filename</code></em> :</span></p></td>
<td>UI file to merge into UI manager.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Integer merge ID</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-unmerge"></a><h3>anjuta_ui_unmerge ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_unmerge (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre>
<p>
Unmerges UI with the ID value <em class="parameter"><code>id</code></em> (returned by <a class="link" href="AnjutaUI.html#anjuta-ui-merge" title="anjuta_ui_merge ()"><code class="function">anjuta_ui_merge()</code></a> when
it was merged. For more detail, read the documentation for <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>Merge ID returned by <a class="link" href="AnjutaUI.html#anjuta-ui-merge" title="anjuta_ui_merge ()"><code class="function">anjuta_ui_merge()</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-get-icon-factory"></a><h3>anjuta_ui_get_icon_factory ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a> * anjuta_ui_get_icon_factory (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);</pre>
<p>
This returns the IconFactory object. All icons should be registered using
this icon factory. Read the documentation for <a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> on how to
use it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The <a href="/usr/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> object used by it. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-get-accel-group"></a><h3>anjuta_ui_get_accel_group ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a> * anjuta_ui_get_accel_group (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);</pre>
<p>
Returns the <a href="/usr/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> object associated with this UI manager.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> object. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-get-accel-editor"></a><h3>anjuta_ui_get_accel_editor ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * anjuta_ui_get_accel_editor (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);</pre>
<p>
Creates an accel editor widget and returns it. It should be added to
container and displayed to users.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> containing the editor. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-dump-tree"></a><h3>anjuta_ui_dump_tree ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_dump_tree (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);</pre>
<p>
Dumps the current UI XML tree in STDOUT. Useful for debugging.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>ui</code></em> :</span></p></td>
<td>A <a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> object.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-load-accels"></a><h3>anjuta_ui_load_accels ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_load_accels (<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>
</p>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-save-accels"></a><h3>anjuta_ui_save_accels ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_save_accels (<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>
</p>
</div>
<hr>
<div class="refsect2">
<a name="anjuta-ui-unload-accels"></a><h3>anjuta_ui_unload_accels ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_ui_unload_accels (<em class="parameter"><code><a class="link" href="AnjutaUI.html" title="AnjutaUI"><span class="type">AnjutaUI</span></a> *ui</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="BEGIN-REGISTER-ICON:CAPS"></a><h3>BEGIN_REGISTER_ICON()</h3>
<pre class="programlisting">#define BEGIN_REGISTER_ICON(plugin)</pre>
<p>
Convenience macros to register stock icons
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td>The anjuta plugin to register the icons for</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="REGISTER-ICON-FULL:CAPS"></a><h3>REGISTER_ICON_FULL()</h3>
<pre class="programlisting">#define REGISTER_ICON_FULL(icon, stock_id)</pre>
<p>
Register icon with size 16 and size 24, icon should be the
filename (without path) striped of the size (16,24) and the *.png
(e.g anjuta-icon-24.png => anjuta-icon)
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td>name of the icon (without size and extension)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>stock-id that should be assigned to the icon</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="REGISTER-ICON:CAPS"></a><h3>REGISTER_ICON()</h3>
<pre class="programlisting">#define REGISTER_ICON(icon, stock_id)</pre>
<p>
Register icon for all sizes (will be scaled)
icon should be the full filename without path (e.g anjuta-icon.png)
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td>name of the icon (without size and extension)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>stock-id that should be assigned to the icon</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="END-REGISTER-ICON:CAPS"></a><h3>END_REGISTER_ICON</h3>
<pre class="programlisting">#define END_REGISTER_ICON</pre>
<p>
Ends a BEGIN_REGISTER_ICON sequence
</p>
</div>
</div>
<div class="refsect1">
<a name="AnjutaUI.see-also"></a><h2>See Also</h2>
<a href="/usr/share/gtk-doc/html/gtk3/GtkAction.html"><span class="type">GtkAction</span></a>, <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkActionEntry"><span class="type">GtkActionEntry</span></a>, <a href="/usr/share/gtk-doc/html/gtk3/GtkToggleAction.html"><span class="type">GtkToggleAction</span></a>,
<a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkToggleActionEntry"><span class="type">GtkToggleActionEntry</span></a>, <a href="/usr/share/gtk-doc/html/gtk3/GtkRadioAction.html"><span class="type">GtkRadioAction</span></a>, <a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html#GtkRadioActionEntry"><span class="type">GtkRadioActionEntry</span></a>,
<a href="/usr/share/gtk-doc/html/gtk3/GtkActionGroup.html"><span class="type">GtkActionGroup</span></a>, <a href="/usr/share/gtk-doc/html/gtk3/GtkUIManager.html"><span class="type">GtkUIManager</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|