/usr/share/doc/libgnomeui-doc/html/libgnomeui-gnome-mdi.html is in libgnomeui-doc 2.24.5-2ubuntu2.
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 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeMDI</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="deprecated.html" title="Deprecated Modules">
<link rel="prev" href="libgnomeui-GnomeIconTheme.html" title="GnomeIconTheme">
<link rel="next" href="libgnomeui-gnome-mdi-child.html" title="GnomeMDIChild">
<meta name="generator" content="GTK-Doc V1.16 (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="libgnomeui-GnomeIconTheme.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="deprecated.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">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="libgnomeui-gnome-mdi-child.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgnomeui-gnome-mdi.synopsis" class="shortcut">Top</a>
|
<a href="#libgnomeui-gnome-mdi.description" class="shortcut">Description</a>
|
<a href="#libgnomeui-gnome-mdi.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#libgnomeui-gnome-mdi.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgnomeui-gnome-mdi"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgnomeui-gnome-mdi.top_of_page"></a>GnomeMDI</span></h2>
<p>GnomeMDI</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgnomeui-gnome-mdi.synopsis"></a><h2>Synopsis</h2>
<a name="GnomeMDI"></a><pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
enum <a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDIMode" title="enum GnomeMDIMode">GnomeMDIMode</a>;
struct <a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-struct" title="struct GnomeMDI">GnomeMDI</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"><span class="returnvalue">GtkObject</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-new" title="gnome_mdi_new ()">gnome_mdi_new</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *appname</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-set-mode" title="gnome_mdi_set_mode ()">gnome_mdi_set_mode</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDIMode" title="enum GnomeMDIMode"><span class="type">GnomeMDIMode</span></a> mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-set-menubar-template" title="gnome_mdi_set_menubar_template ()">gnome_mdi_set_menubar_template</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menu_tmpl</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-set-toolbar-template" title="gnome_mdi_set_toolbar_template ()">gnome_mdi_set_toolbar_template</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *tbar_tmpl</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-set-child-menu-path" title="gnome_mdi_set_child_menu_path ()">gnome_mdi_set_child_menu_path</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-set-child-list-path" title="gnome_mdi_set_child_list_path ()">gnome_mdi_set_child_list_path</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-add-view" title="gnome_mdi_add_view ()">gnome_mdi_add_view</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-add-toplevel-view" title="gnome_mdi_add_toplevel_view ()">gnome_mdi_add_toplevel_view</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-remove-view" title="gnome_mdi_remove_view ()">gnome_mdi_remove_view</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> force</code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-active-view" title="gnome_mdi_get_active_view ()">gnome_mdi_get_active_view</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-set-active-view" title="gnome_mdi_set_active_view ()">gnome_mdi_set_active_view</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-add-child" title="gnome_mdi_add_child ()">gnome_mdi_add_child</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-remove-child" title="gnome_mdi_remove_child ()">gnome_mdi_remove_child</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> force</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-remove-all" title="gnome_mdi_remove_all ()">gnome_mdi_remove_all</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> force</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-open-toplevel" title="gnome_mdi_open_toplevel ()">gnome_mdi_open_toplevel</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-update-child" title="gnome_mdi_update_child ()">gnome_mdi_update_child</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);
<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="returnvalue">GnomeMDIChild</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-active-child" title="gnome_mdi_get_active_child ()">gnome_mdi_get_active_child</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);
<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="returnvalue">GnomeMDIChild</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-find-child" title="gnome_mdi_find_child ()">gnome_mdi_find_child</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="returnvalue">GnomeApp</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-active-window" title="gnome_mdi_get_active_window ()">gnome_mdi_get_active_window</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-register" title="gnome_mdi_register ()">gnome_mdi_register</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"><span class="type">GtkObject</span></a> *object</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-unregister" title="gnome_mdi_unregister ()">gnome_mdi_unregister</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"><span class="type">GtkObject</span></a> *object</code></em>);
<a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="returnvalue">GnomeApp</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-app-from-view" title="gnome_mdi_get_app_from_view ()">gnome_mdi_get_app_from_view</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>);
<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="returnvalue">GnomeMDIChild</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-child-from-view" title="gnome_mdi_get_child_from_view ()">gnome_mdi_get_child_from_view</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-view-from-window" title="gnome_mdi_get_view_from_window ()">gnome_mdi_get_view_from_window</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="returnvalue">GnomeUIInfo</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-menubar-info" title="gnome_mdi_get_menubar_info ()">gnome_mdi_get_menubar_info</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="returnvalue">GnomeUIInfo</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-toolbar-info" title="gnome_mdi_get_toolbar_info ()">gnome_mdi_get_toolbar_info</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="returnvalue">GnomeUIInfo</span></a> * <a class="link" href="libgnomeui-gnome-mdi.html#gnome-mdi-get-child-menu-info" title="gnome_mdi_get_child_menu_info ()">gnome_mdi_get_child_menu_info</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-mdi.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
+----GnomeMDI
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-mdi.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-add-child" title='The "add-child" signal'>add-child</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-add-view" title='The "add-view" signal'>add-view</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-app-created" title='The "app-created" signal'>app-created</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-child-changed" title='The "child-changed" signal'>child-changed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-remove-child" title='The "remove-child" signal'>remove-child</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-remove-view" title='The "remove-view" signal'>remove-view</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI-view-changed" title='The "view-changed" signal'>view-changed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-mdi.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-mdi.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeMDIMode"></a><h3>enum GnomeMDIMode</h3>
<pre class="programlisting">typedef enum {
GNOME_MDI_NOTEBOOK,
GNOME_MDI_TOPLEVEL,
GNOME_MDI_MODAL,
GNOME_MDI_DEFAULT_MODE = 42
} GnomeMDIMode;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIMode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-struct"></a><h3>struct GnomeMDI</h3>
<pre class="programlisting">struct GnomeMDI;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDI</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-new"></a><h3>gnome_mdi_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"><span class="returnvalue">GtkObject</span></a> * gnome_mdi_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *appname</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new MDI object. <em class="parameter"><code>appname</code></em> and <em class="parameter"><code>title</code></em> are used for
MDI's calling <a class="link" href="libgnomeui-gnome-app.html#gnome-app-new" title="gnome_app_new ()"><code class="function">gnome_app_new()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>appname</code></em> :</span></p></td>
<td>Application name as used in filenames and paths.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>Title of the application windows.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to a new GnomeMDI object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-set-mode"></a><h3>gnome_mdi_set_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_set_mode (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDIMode" title="enum GnomeMDIMode"><span class="type">GnomeMDIMode</span></a> mode</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_set_mode</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the MDI mode to mode. Possible values are <code class="literal">GNOME_MDI_TOPLEVEL</code>,
<code class="literal">GNOME_MDI_NOTEBOOK</code>, <code class="literal">GNOME_MDI_MODAL</code> and <code class="literal">GNOME_MDI_DEFAULT</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>New mode.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-set-menubar-template"></a><h3>gnome_mdi_set_menubar_template ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_set_menubar_template (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menu_tmpl</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_set_menubar_template</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function sets the template for menus that appear in each toplevel
window to menu_template. For each new toplevel window created by the MDI,
this structure is copied, the menus are created with
<a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus-with-data" title="gnome_app_create_menus_with_data ()"><code class="function">gnome_app_create_menus_with_data()</code></a> function with mdi as the callback
user data. Finally, the pointer to the copy is assigned to the new
toplevel window (a GnomeApp widget) and can be obtained by calling
&gnome_mdi_get_menubar_info.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_tmpl</code></em> :</span></p></td>
<td>A GnomeUIInfo array describing the menu.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-set-toolbar-template"></a><h3>gnome_mdi_set_toolbar_template ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_set_toolbar_template (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *tbar_tmpl</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_set_toolbar_template</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function sets the template for toolbar that appears in each toplevel
window to toolbar_template. For each new toplevel window created by the MDI,
this structure is copied, the toolbar is created with
<a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-toolbar-with-data" title="gnome_app_create_toolbar_with_data ()"><code class="function">gnome_app_create_toolbar_with_data()</code></a> function with mdi as the callback
user data. Finally, the pointer to the copy is assigned to the new toplevel
window (a GnomeApp widget) and can be retrieved with a call to
&gnome_mdi_get_toolbar_info.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tbar_tmpl</code></em> :</span></p></td>
<td>A GnomeUIInfo array describing the toolbar.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-set-child-menu-path"></a><h3>gnome_mdi_set_child_menu_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_set_child_menu_path (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_set_child_menu_path</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the desired position of child-specific menus (which are added to and
removed from the main menus as views of different children are activated).
See gnome_app_find_menu_pos for details on menu paths.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A menu path where the child menus should be inserted.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-set-child-list-path"></a><h3>gnome_mdi_set_child_list_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_set_child_list_path (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_set_child_list_path</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the position for insertion of menu items used to activate the MDI
children that were added to the MDI. See gnome_app_find_menu_pos for
details on menu paths. If the path is not set or set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, these menu
items aren't going to be inserted in the MDI menu structure. Note that if
you want all menu items to be inserted in their own submenu, you have to
create that submenu (and leave it empty, of course).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A menu path where the child list menu should be inserted</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-add-view"></a><h3>gnome_mdi_add_view ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gnome_mdi_add_view (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_add_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new view of the child and adds it to the MDI. GnomeMDIChild
<em class="parameter"><code>child</code></em> has to be added to the MDI with a call to gnome_mdi_add_child
before its views are added to the MDI.
An "add_view" signal is emitted to the MDI after the view has been
created, but before it is shown and added to the MDI, with a pointer to
the created view as its parameter. The view is added to the MDI only if
the signal handler (if it exists) returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If the handler returns
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the created view is destroyed and not added to the MDI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>A pointer to a child.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if adding the view succeeded and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-add-toplevel-view"></a><h3>gnome_mdi_add_toplevel_view ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gnome_mdi_add_toplevel_view (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_add_toplevel_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new view of the child and adds it to the MDI; it behaves the
same way as gnome_mdi_add_view in <code class="literal">GNOME_MDI_MODAL</code> and <code class="literal">GNOME_MDI_TOPLEVEL</code>
modes, but in <code class="literal">GNOME_MDI_NOTEBOOK</code> mode, the view is added in a new
toplevel window unless the active one has no views in it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>A pointer to a GnomeMDIChild object to be added to the MDI.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if adding the view succeeded and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-remove-view"></a><h3>gnome_mdi_remove_view ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gnome_mdi_remove_view (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> force</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_remove_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes a view from an MDI.
A "remove_view" signal is emitted to the MDI before actually removing
view. The view is removed only if the signal handler (if it exists and
the <em class="parameter"><code>force</code></em> is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>View to remove.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>force</code></em> :</span></p></td>
<td>If TRUE, the "remove_view" signal is not emitted.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the view was removed and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-active-view"></a><h3>gnome_mdi_get_active_view ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gnome_mdi_get_active_view (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_active_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns a pointer to the active view (the one with the focus).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to a GtkWidget *.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-set-active-view"></a><h3>gnome_mdi_set_active_view ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_set_active_view (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_set_active_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the active view to <em class="parameter"><code>view</code></em>. It also raises the window containing it
and gives it focus.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to an MDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A pointer to the view that is to become the active one.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-add-child"></a><h3>gnome_mdi_add_child ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gnome_mdi_add_child (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_add_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds a new child to the MDI. No views are added: this has to be done with
a call to gnome_mdi_add_view.
First an "add_child" signal is emitted to the MDI with a pointer to the
child as its parameter. The child is added to the MDI only if the signal
handler (if it exists) returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If the handler returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the
child is not added to the MDI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>A pointer to a GnomeMDIChild to add to the MDI.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the child was added successfully and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-remove-child"></a><h3>gnome_mdi_remove_child ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gnome_mdi_remove_child (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> force</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_remove_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes a child and all of its views from the MDI.
A "remove_child" signal is emitted to the MDI with <em class="parameter"><code>child</code></em> as its parameter
before actually removing the child. The child is removed only if the signal
handler (if it exists and the <em class="parameter"><code>force</code></em> is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>Child to remove.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>force</code></em> :</span></p></td>
<td>If TRUE, the "remove_child" signal is not emitted</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the removal was successful and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-remove-all"></a><h3>gnome_mdi_remove_all ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gnome_mdi_remove_all (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> force</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_remove_all</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes all children and all views from the MDI.
A "remove_child" signal is emitted to the MDI for each child before
actually trying to remove any. If signal handlers for all children (if
they exist and the <em class="parameter"><code>force</code></em> is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, all children
and their views are removed and none otherwise.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>force</code></em> :</span></p></td>
<td>If TRUE, the "remove_child" signal is not emitted</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the removal was successful and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-open-toplevel"></a><h3>gnome_mdi_open_toplevel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_open_toplevel (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_open_toplevel</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Opens a new toplevel window (unless in <code class="literal">GNOME_MDI_MODAL</code> mode and a
toplevel window is already open). This is usually used only for opening
the initial window on startup (just before calling <code class="function">gtkmain()</code>) if no
windows were open because a session was restored or children were added
because of command line args).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-update-child"></a><h3>gnome_mdi_update_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_update_child (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *child</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_update_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Updates all notebook labels of <em class="parameter"><code>child</code></em>'s views and their window titles
after its name changes. It is not required if <a class="link" href="libgnomeui-gnome-mdi-child.html#gnome-mdi-child-set-name" title="gnome_mdi_child_set_name ()"><code class="function">gnome_mdi_child_set_name()</code></a>
is used for setting the child's name.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>Child to update.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-active-child"></a><h3>gnome_mdi_get_active_child ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="returnvalue">GnomeMDIChild</span></a> * gnome_mdi_get_active_child (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_active_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns a pointer to the active GnomeMDIChild object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to the active GnomeMDIChild object. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if there is none.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-find-child"></a><h3>gnome_mdi_find_child ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="returnvalue">GnomeMDIChild</span></a> * gnome_mdi_find_child (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_find_child</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Finds a child named <em class="parameter"><code>name</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>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>A string with a name of the child to find.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to the GnomeMDIChild object if the child was found and NULL
otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-active-window"></a><h3>gnome_mdi_get_active_window ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="returnvalue">GnomeApp</span></a> * gnome_mdi_get_active_window (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_active_window</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns a pointer to the toplevel window containing the active view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to a GnomeApp that has the focus.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-register"></a><h3>gnome_mdi_register ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_register (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_register</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Registers GtkObject <em class="parameter"><code>object</code></em> with MDI.
This is mostly intended for applications that open other windows besides
those opened by the MDI and want to continue to run even when no MDI
windows exist (an example of this would be GIMP's window with tools, if
the pictures were MDI children). As long as there is an object registered
with the MDI, the MDI will not destroy itself when the last of its windows
is closed. If no objects are registered, closing the last MDI window
results in MDI being destroyed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>Object to register.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-unregister"></a><h3>gnome_mdi_unregister ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_mdi_unregister (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_unregister</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes GtkObject <em class="parameter"><code>object</code></em> from the list of registered objects.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>Object to unregister.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-app-from-view"></a><h3>gnome_mdi_get_app_from_view ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="returnvalue">GnomeApp</span></a> * gnome_mdi_get_app_from_view (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_app_from_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns the toplevel window for this view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A pointer to a GtkWidget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to the GnomeApp containg the specified view.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-child-from-view"></a><h3>gnome_mdi_get_child_from_view ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="returnvalue">GnomeMDIChild</span></a> * gnome_mdi_get_child_from_view (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *view</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_child_from_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns a child that <em class="parameter"><code>view</code></em> is a view of.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A pointer to a GtkWidget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to the GnomeMDIChild the view belongs to.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-view-from-window"></a><h3>gnome_mdi_get_view_from_window ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gnome_mdi_get_view_from_window (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi</code></em>,
<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_view_from_window</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns the pointer to the view in the MDI toplevel window <em class="parameter"><code>app</code></em>.
If the mode is set to <code class="literal">GNOME_MDI_NOTEBOOK</code>, the view in the current
page is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>A pointer to a GnomeMDI object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A pointer to a GnomeApp widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to a view.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-menubar-info"></a><h3>gnome_mdi_get_menubar_info ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="returnvalue">GnomeUIInfo</span></a> * gnome_mdi_get_menubar_info (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_menubar_info</code> is deprecated and should not be used in newly-written code.</p>
</div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A pointer to a GnomeApp widget created by the MDI.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A GnomeUIInfo array used for menubar in <em class="parameter"><code>app</code></em> if the menubar has been created with a template.
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-toolbar-info"></a><h3>gnome_mdi_get_toolbar_info ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="returnvalue">GnomeUIInfo</span></a> * gnome_mdi_get_toolbar_info (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_toolbar_info</code> is deprecated and should not be used in newly-written code.</p>
</div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A pointer to a GnomeApp widget created by the MDI.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A GnomeUIInfo array used for toolbar in <em class="parameter"><code>app</code></em> if the toolbar has been created with a template.
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-get-child-menu-info"></a><h3>gnome_mdi_get_child_menu_info ()</h3>
<pre class="programlisting"><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="returnvalue">GnomeUIInfo</span></a> * gnome_mdi_get_child_menu_info (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_get_child_menu_info</code> is deprecated and should not be used in newly-written code.</p>
</div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A pointer to a GnomeApp widget created by the MDI.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A GnomeUIInfo array used for child's menus in <em class="parameter"><code>app</code></em> if they have been created with a template.
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-mdi.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GnomeMDI-add-child"></a><h3>The <code class="literal">"add-child"</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-add-view"></a><h3>The <code class="literal">"add-view"</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-app-created"></a><h3>The <code class="literal">"app-created"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-child-changed"></a><h3>The <code class="literal">"child-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-remove-child"></a><h3>The <code class="literal">"remove-child"</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild"><span class="type">GnomeMDIChild</span></a> *arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-remove-view"></a><h3>The <code class="literal">"remove-view"</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeMDI-view-changed"></a><h3>The <code class="literal">"view-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="libgnomeui-gnome-mdi.html#GnomeMDI"><span class="type">GnomeMDI</span></a> *mdi,
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mdi</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.16</div>
</body>
</html>
|