<HTML
><HEAD
><TITLE
>GnomeMDI</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="Gnome User Interface Library Reference Manual"
HREF="book1.html"><LINK
REL="UP"
TITLE="GNOME Widgets and Objects"
HREF="gnome-objects.html"><LINK
REL="PREVIOUS"
TITLE="GnomeMDIGenericChild"
HREF="gnomemdigenericchild.html"><LINK
REL="NEXT"
TITLE="GnomeMessageBox"
HREF="gnomemessagebox.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
BGCOLOR="#000000"
CELLPADDING="1"
CELLSPACING="0"
><TR
><TH
COLSPAN="4"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="5"
>Gnome User Interface Library Reference Manual</FONT
></TH
></TR
><TR
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="left"
><A
HREF="gnomemdigenericchild.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>&#60;&#60;&#60; Previous Page</B
></FONT
></A
></TD
><TD
WIDTH="25%"
BGCOLOR="#0000C0"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="book1.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Home</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#00C000"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="gnome-objects.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Up</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
><A
HREF="gnomemessagebox.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Next Page &#62;&#62;&#62;</B
></FONT
></A
></TD
></TR
></TABLE
></DIV
><H1
><A
NAME="GNOMEMDI"
>GnomeMDI</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN20631"
></A
><H2
>Name</H2
>GnomeMDI&nbsp;--&nbsp;GNOME Multiple Document Interface</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN20634"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>&#13;#include &lt;gnome.h&gt;


struct      <A
HREF="gnomemdi.html#GNOMEMDI-STRUCT"
>GnomeMDI</A
>;
enum        <A
HREF="gnomemdi.html#GNOMEMDIMODE"
>GnomeMDIMode</A
>;
<GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
>*  <A
HREF="gnomemdi.html#GNOME-MDI-NEW"
>gnome_mdi_new</A
>                   (<GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *appname,
                                             <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *title);
void        <A
HREF="gnomemdi.html#GNOME-MDI-SET-MODE"
>gnome_mdi_set_mode</A
>              (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdi.html#GNOMEMDIMODE"
>GnomeMDIMode</A
> mode);
void        <A
HREF="gnomemdi.html#GNOME-MDI-SET-MENUBAR-TEMPLATE"
>gnome_mdi_set_menubar_template</A
>  (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
> *menu_tmpl);
void        <A
HREF="gnomemdi.html#GNOME-MDI-SET-TOOLBAR-TEMPLATE"
>gnome_mdi_set_toolbar_template</A
>  (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
> *tbar_tmpl);
void        <A
HREF="gnomemdi.html#GNOME-MDI-SET-CHILD-MENU-PATH"
>gnome_mdi_set_child_menu_path</A
>   (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *path);
void        <A
HREF="gnomemdi.html#GNOME-MDI-SET-CHILD-LIST-PATH"
>gnome_mdi_set_child_list_path</A
>   (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *path);
<GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        <A
HREF="gnomemdi.html#GNOME-MDI-ADD-VIEW"
>gnome_mdi_add_view</A
>              (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);
<GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        <A
HREF="gnomemdi.html#GNOME-MDI-ADD-TOPLEVEL-VIEW"
>gnome_mdi_add_toplevel_view</A
>     (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);
<GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        <A
HREF="gnomemdi.html#GNOME-MDI-REMOVE-VIEW"
>gnome_mdi_remove_view</A
>           (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> force);
<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>*  <A
HREF="gnomemdi.html#GNOME-MDI-GET-ACTIVE-VIEW"
>gnome_mdi_get_active_view</A
>       (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);
void        <A
HREF="gnomemdi.html#GNOME-MDI-SET-ACTIVE-VIEW"
>gnome_mdi_set_active_view</A
>       (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view);
<GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        <A
HREF="gnomemdi.html#GNOME-MDI-ADD-CHILD"
>gnome_mdi_add_child</A
>             (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);
<GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        <A
HREF="gnomemdi.html#GNOME-MDI-REMOVE-CHILD"
>gnome_mdi_remove_child</A
>          (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> force);
<GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        <A
HREF="gnomemdi.html#GNOME-MDI-REMOVE-ALL"
>gnome_mdi_remove_all</A
>            (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> force);
void        <A
HREF="gnomemdi.html#GNOME-MDI-OPEN-TOPLEVEL"
>gnome_mdi_open_toplevel</A
>         (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);
void        <A
HREF="gnomemdi.html#GNOME-MDI-UPDATE-CHILD"
>gnome_mdi_update_child</A
>          (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);
<A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>* <A
HREF="gnomemdi.html#GNOME-MDI-GET-ACTIVE-CHILD"
>gnome_mdi_get_active_child</A
>   (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);
<A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>* <A
HREF="gnomemdi.html#GNOME-MDI-FIND-CHILD"
>gnome_mdi_find_child</A
>         (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *name);
<A
HREF="gnomeapp.html"
>GnomeApp</A
>*   <A
HREF="gnomemdi.html#GNOME-MDI-GET-ACTIVE-WINDOW"
>gnome_mdi_get_active_window</A
>     (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);
void        <A
HREF="gnomemdi.html#GNOME-MDI-REGISTER"
>gnome_mdi_register</A
>              (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
> *object);
void        <A
HREF="gnomemdi.html#GNOME-MDI-UNREGISTER"
>gnome_mdi_unregister</A
>            (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
> *object);
<A
HREF="gnomeapp.html"
>GnomeApp</A
>*   <A
HREF="gnomemdi.html#GNOME-MDI-GET-APP-FROM-VIEW"
>gnome_mdi_get_app_from_view</A
>     (<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view);
<A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>* <A
HREF="gnomemdi.html#GNOME-MDI-GET-CHILD-FROM-VIEW"
>gnome_mdi_get_child_from_view</A
>
                                            (<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view);
<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>*  <A
HREF="gnomemdi.html#GNOME-MDI-GET-VIEW-FROM-WINDOW"
>gnome_mdi_get_view_from_window</A
>  (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);
<A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
>* <A
HREF="gnomemdi.html#GNOME-MDI-GET-MENUBAR-INFO"
>gnome_mdi_get_menubar_info</A
>     (<A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);
<A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
>* <A
HREF="gnomemdi.html#GNOME-MDI-GET-TOOLBAR-INFO"
>gnome_mdi_get_toolbar_info</A
>     (<A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);
<A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
>* <A
HREF="gnomemdi.html#GNOME-MDI-GET-CHILD-MENU-INFO"
>gnome_mdi_get_child_menu_info</A
>  (<A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);&#13;</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20730"
></A
><H2
>Object Hierarchy</H2
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>&#13;  <GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
>
   +----GnomeMDI</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20734"
></A
><H2
>Description</H2
><P
>    The <SPAN
CLASS="TYPE"
>GnomeMDI</SPAN
> object lets the application manage a
    number of documents and displays their views in a configurable
    fashion.
  </P
><P
>    Once an instance of <SPAN
CLASS="TYPE"
>GnomeMDI</SPAN
> has been created, you
    can add documents to it using <A
HREF="gnomemdi.html#GNOME-MDI-ADD-CHILD"
>gnome_mdi_add_child</A
>() and add views
    of these documents with <A
HREF="gnomemdi.html#GNOME-MDI-ADD-VIEW"
>gnome_mdi_add_view</A
>() routine. GnomeMDI
    also provides means to create global menus and toolbar that apply
    for each document and for merging document-specific menus with the
    global ones. MDI automatically creates a menu containing a list of
    all open documents. The global menus and toolbar can be created
    using a template GnomeUIInfo structure or with a handler for
    app_created signal which allows for customization of all
    <SPAN
CLASS="TYPE"
>GnomeApp</SPAN
> widgets that <SPAN
CLASS="TYPE"
>GnomeMDI</SPAN
> creates.
  </P
><P
>    The views are displayed in one of three modes that can be set using
    <A
HREF="gnomemdi.html#GNOME-MDI-SET-MODE"
>gnome_mdi_set_mode</A
>() function:
    <P
></P
><UL
><LI
><P
>	  <TT
CLASS="LITERAL"
>GNOME_MDI_NOTEBOOK</TT
> mode displays each view in a notebook page. The user can create
	  any number of notebooks, each within its toplevel <SPAN
CLASS="TYPE"
>GnomeApp</SPAN
> and drag
	  pages from one to another, thus distributing the views between them in any
	  desired manner.
	</P
></LI
><LI
><P
>	  <TT
CLASS="LITERAL"
>GNOME_MDI_TOPLEVEL</TT
> mode displays each view in its own toplevel window.
	</P
></LI
><LI
><P
>	  <TT
CLASS="LITERAL"
>GNOME_MDI_MODAL</TT
> mode displays only a single view of a document.
	</P
></LI
><LI
><P
>	  <TT
CLASS="LITERAL"
>GNOME_MDI_DEFAULT</TT
> uses the mode that can be configured on a per-user
	  basis via the GNOME control center.
	</P
></LI
></UL
>
  </P
><P
>    <SPAN
CLASS="TYPE"
>GnomeMDI</SPAN
> can automatically save and restore its state and the state
    of its children and layout, which is particularly useful to simplify implementation
    of session managment.
  </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20762"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN20764"
></A
><H3
><A
NAME="GNOMEMDI-STRUCT"
></A
>struct GnomeMDI</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>struct GnomeMDI;</PRE
></TD
></TR
></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20769"
></A
><H3
><A
NAME="GNOMEMDIMODE"
></A
>enum GnomeMDIMode</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef enum {
	GNOME_MDI_NOTEBOOK,
	GNOME_MDI_TOPLEVEL,
	GNOME_MDI_MODAL,
	GNOME_MDI_DEFAULT_MODE = 42
} GnomeMDIMode;</PRE
></TD
></TR
></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20774"
></A
><H3
><A
NAME="GNOME-MDI-NEW"
></A
>gnome_mdi_new ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
>*  gnome_mdi_new                   (<GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *appname,
                                             <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *title);</PRE
></TD
></TR
></TABLE
><P
>Creates a new MDI object. <TT
CLASS="PARAMETER"
><I
>appname</I
></TT
> and <TT
CLASS="PARAMETER"
><I
>title</I
></TT
> are used for
MDI's calling <A
HREF="gnomeapp.html#GNOME-APP-NEW"
>gnome_app_new</A
>().</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>appname</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Application name as used in filenames and paths.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>title</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Title of the application windows.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>A pointer to a new GnomeMDI object.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20803"
></A
><H3
><A
NAME="GNOME-MDI-SET-MODE"
></A
>gnome_mdi_set_mode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_set_mode              (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdi.html#GNOMEMDIMODE"
>GnomeMDIMode</A
> mode);</PRE
></TD
></TR
></TABLE
><P
>Sets the MDI mode to mode. Possible values are <TT
CLASS="LITERAL"
>GNOME_MDI_TOPLEVEL</TT
>,
<TT
CLASS="LITERAL"
>GNOME_MDI_NOTEBOOK</TT
>, <TT
CLASS="LITERAL"
>GNOME_MDI_MODAL</TT
> and <TT
CLASS="LITERAL"
>GNOME_MDI_DEFAULT</TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mode</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> New mode.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20828"
></A
><H3
><A
NAME="GNOME-MDI-SET-MENUBAR-TEMPLATE"
></A
>gnome_mdi_set_menubar_template ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_set_menubar_template  (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
> *menu_tmpl);</PRE
></TD
></TR
></TABLE
><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
HREF="gnomeui-gnome-app-helper.html#GNOME-APP-CREATE-MENUS-WITH-DATA"
>gnome_app_create_menus_with_data</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
&amp;gnome_mdi_get_menubar_info.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>menu_tmpl</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A GnomeUIInfo array describing the menu.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20850"
></A
><H3
><A
NAME="GNOME-MDI-SET-TOOLBAR-TEMPLATE"
></A
>gnome_mdi_set_toolbar_template ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_set_toolbar_template  (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
> *tbar_tmpl);</PRE
></TD
></TR
></TABLE
><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
HREF="gnomeui-gnome-app-helper.html#GNOME-APP-CREATE-TOOLBAR-WITH-DATA"
>gnome_app_create_toolbar_with_data</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
&amp;gnome_mdi_get_toolbar_info.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>tbar_tmpl</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A GnomeUIInfo array describing the toolbar.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20872"
></A
><H3
><A
NAME="GNOME-MDI-SET-CHILD-MENU-PATH"
></A
>gnome_mdi_set_child_menu_path ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_set_child_menu_path   (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *path);</PRE
></TD
></TR
></TABLE
><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
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object. </TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>path</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A menu path where the child menus should be inserted.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20893"
></A
><H3
><A
NAME="GNOME-MDI-SET-CHILD-LIST-PATH"
></A
>gnome_mdi_set_child_list_path ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_set_child_list_path   (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             const <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *path);</PRE
></TD
></TR
></TABLE
><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 <TT
CLASS="LITERAL"
>NULL</TT
>, 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
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>path</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A menu path where the child list menu should be inserted</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20915"
></A
><H3
><A
NAME="GNOME-MDI-ADD-VIEW"
></A
>gnome_mdi_add_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        gnome_mdi_add_view              (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);</PRE
></TD
></TR
></TABLE
><P
>Creates a new view of the child and adds it to the MDI. GnomeMDIChild
<TT
CLASS="PARAMETER"
><I
>child</I
></TT
> 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 <TT
CLASS="LITERAL"
>TRUE</TT
>. If the handler returns
<TT
CLASS="LITERAL"
>FALSE</TT
>, the created view is destroyed and not added to the MDI.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>child</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a child.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="LITERAL"
>TRUE</TT
> if adding the view succeeded and <TT
CLASS="LITERAL"
>FALSE</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20946"
></A
><H3
><A
NAME="GNOME-MDI-ADD-TOPLEVEL-VIEW"
></A
>gnome_mdi_add_toplevel_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        gnome_mdi_add_toplevel_view     (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);</PRE
></TD
></TR
></TABLE
><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 <TT
CLASS="LITERAL"
>GNOME_MDI_MODAL</TT
> and <TT
CLASS="LITERAL"
>GNOME_MDI_TOPLEVEL</TT
>
modes, but in <TT
CLASS="LITERAL"
>GNOME_MDI_NOTEBOOK</TT
> mode, the view is added in a new
toplevel window unless the active one has no views in it.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>child</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDIChild object to be added to the MDI.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
<TT
CLASS="LITERAL"
>TRUE</TT
> if adding the view succeeded and <TT
CLASS="LITERAL"
>FALSE</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20977"
></A
><H3
><A
NAME="GNOME-MDI-REMOVE-VIEW"
></A
>gnome_mdi_remove_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        gnome_mdi_remove_view           (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> force);</PRE
></TD
></TR
></TABLE
><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 <TT
CLASS="PARAMETER"
><I
>force</I
></TT
> is set to <TT
CLASS="LITERAL"
>FALSE</TT
>) returns <TT
CLASS="LITERAL"
>TRUE</TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>view</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> View to remove.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>force</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> If TRUE, the "remove_view" signal is not emitted.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
<TT
CLASS="LITERAL"
>TRUE</TT
> if the view was removed and <TT
CLASS="LITERAL"
>FALSE</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21013"
></A
><H3
><A
NAME="GNOME-MDI-GET-ACTIVE-VIEW"
></A
>gnome_mdi_get_active_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>*  gnome_mdi_get_active_view       (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);</PRE
></TD
></TR
></TABLE
><P
>Returns a pointer to the active view (the one with the focus).</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A pointer to a GtkWidget *.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21034"
></A
><H3
><A
NAME="GNOME-MDI-SET-ACTIVE-VIEW"
></A
>gnome_mdi_set_active_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_set_active_view       (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view);</PRE
></TD
></TR
></TABLE
><P
>Sets the active view to <TT
CLASS="PARAMETER"
><I
>view</I
></TT
>. It also raises the window containing it
and gives it focus.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to an MDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>view</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to the view that is to become the active one.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21056"
></A
><H3
><A
NAME="GNOME-MDI-ADD-CHILD"
></A
>gnome_mdi_add_child ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        gnome_mdi_add_child             (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);</PRE
></TD
></TR
></TABLE
><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 <TT
CLASS="LITERAL"
>TRUE</TT
>. If the handler returns <TT
CLASS="LITERAL"
>FALSE</TT
>, the
child is not added to the MDI.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>child</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDIChild to add to the MDI.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
<TT
CLASS="LITERAL"
>TRUE</TT
> if the child was added successfully and <TT
CLASS="LITERAL"
>FALSE</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21086"
></A
><H3
><A
NAME="GNOME-MDI-REMOVE-CHILD"
></A
>gnome_mdi_remove_child ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        gnome_mdi_remove_child          (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> force);</PRE
></TD
></TR
></TABLE
><P
>Removes a child and all of its views from the MDI. 
A "remove_child" signal is emitted to the MDI with <TT
CLASS="PARAMETER"
><I
>child</I
></TT
> as its parameter
before actually removing the child. The child is removed only if the signal
handler (if it exists and the <TT
CLASS="PARAMETER"
><I
>force</I
></TT
> is set to <TT
CLASS="LITERAL"
>FALSE</TT
>) returns <TT
CLASS="LITERAL"
>TRUE</TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>child</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Child to remove.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>force</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> If TRUE, the "remove_child" signal is not emitted</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
<TT
CLASS="LITERAL"
>TRUE</TT
> if the removal was successful and <TT
CLASS="LITERAL"
>FALSE</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21123"
></A
><H3
><A
NAME="GNOME-MDI-REMOVE-ALL"
></A
>gnome_mdi_remove_all ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
>        gnome_mdi_remove_all            (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GINT"
>gint</GTKDOCLINK
> force);</PRE
></TD
></TR
></TABLE
><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 <TT
CLASS="PARAMETER"
><I
>force</I
></TT
> is set to <TT
CLASS="LITERAL"
>FALSE</TT
>) return <TT
CLASS="LITERAL"
>TRUE</TT
>, all children
and their views are removed and none otherwise.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>force</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> If TRUE, the "remove_child" signal is not emitted</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="LITERAL"
>TRUE</TT
> if the removal was successful and <TT
CLASS="LITERAL"
>FALSE</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21154"
></A
><H3
><A
NAME="GNOME-MDI-OPEN-TOPLEVEL"
></A
>gnome_mdi_open_toplevel ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_open_toplevel         (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);</PRE
></TD
></TR
></TABLE
><P
>Opens a new toplevel window (unless in <TT
CLASS="LITERAL"
>GNOME_MDI_MODAL</TT
> mode and a
toplevel window is already open). This is usually used only for opening
the initial window on startup (just before calling <GTKDOCLINK
HREF="GTKMAIN"
>gtkmain</GTKDOCLINK
>()) if no
windows were open because a session was restored or children were added
because of command line args).</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21172"
></A
><H3
><A
NAME="GNOME-MDI-UPDATE-CHILD"
></A
>gnome_mdi_update_child ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_update_child          (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
> *child);</PRE
></TD
></TR
></TABLE
><P
>Updates all notebook labels of <TT
CLASS="PARAMETER"
><I
>child</I
></TT
>'s views and their window titles
after its name changes. It is not required if <A
HREF="gnomemdichild.html#GNOME-MDI-CHILD-SET-NAME"
>gnome_mdi_child_set_name</A
>()
is used for setting the child's name.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>child</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Child to update.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21195"
></A
><H3
><A
NAME="GNOME-MDI-GET-ACTIVE-CHILD"
></A
>gnome_mdi_get_active_child ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>* gnome_mdi_get_active_child   (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);</PRE
></TD
></TR
></TABLE
><P
>Returns a pointer to the active GnomeMDIChild object.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A pointer to the active GnomeMDIChild object. <TT
CLASS="LITERAL"
>NULL</TT
>, if there is none.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21217"
></A
><H3
><A
NAME="GNOME-MDI-FIND-CHILD"
></A
>gnome_mdi_find_child ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>* gnome_mdi_find_child         (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GCHAR"
>gchar</GTKDOCLINK
> *name);</PRE
></TD
></TR
></TABLE
><P
>Finds a child named <TT
CLASS="PARAMETER"
><I
>name</I
></TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>name</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A string with a name of the child to find.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A pointer to the GnomeMDIChild object if the child was found and NULL
otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21244"
></A
><H3
><A
NAME="GNOME-MDI-GET-ACTIVE-WINDOW"
></A
>gnome_mdi_get_active_window ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomeapp.html"
>GnomeApp</A
>*   gnome_mdi_get_active_window     (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi);</PRE
></TD
></TR
></TABLE
><P
>Returns a pointer to the toplevel window containing the active view.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>A pointer to a GnomeApp that has the focus.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21265"
></A
><H3
><A
NAME="GNOME-MDI-REGISTER"
></A
>gnome_mdi_register ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_register              (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
> *object);</PRE
></TD
></TR
></TABLE
><P
>Registers GtkObject <TT
CLASS="PARAMETER"
><I
>object</I
></TT
> 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
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>object</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Object to register.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21287"
></A
><H3
><A
NAME="GNOME-MDI-UNREGISTER"
></A
>gnome_mdi_unregister ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void        gnome_mdi_unregister            (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <GTKDOCLINK
HREF="GTKOBJECT"
>GtkObject</GTKDOCLINK
> *object);</PRE
></TD
></TR
></TABLE
><P
>Removes GtkObject <TT
CLASS="PARAMETER"
><I
>object</I
></TT
> from the list of registered objects.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>object</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Object to unregister.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21309"
></A
><H3
><A
NAME="GNOME-MDI-GET-APP-FROM-VIEW"
></A
>gnome_mdi_get_app_from_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomeapp.html"
>GnomeApp</A
>*   gnome_mdi_get_app_from_view     (<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view);</PRE
></TD
></TR
></TABLE
><P
>Returns the toplevel window for this view.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>view</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GtkWidget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>A pointer to the GnomeApp containg the specified view.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21330"
></A
><H3
><A
NAME="GNOME-MDI-GET-CHILD-FROM-VIEW"
></A
>gnome_mdi_get_child_from_view ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>* gnome_mdi_get_child_from_view
                                            (<GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
> *view);</PRE
></TD
></TR
></TABLE
><P
>Returns a child that <TT
CLASS="PARAMETER"
><I
>view</I
></TT
> is a view of.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>view</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GtkWidget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>A pointer to the GnomeMDIChild the view belongs to.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21352"
></A
><H3
><A
NAME="GNOME-MDI-GET-VIEW-FROM-WINDOW"
></A
>gnome_mdi_get_view_from_window ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><GTKDOCLINK
HREF="GTKWIDGET"
>GtkWidget</GTKDOCLINK
>*  gnome_mdi_get_view_from_window  (<A
HREF="gnomemdi.html"
>GnomeMDI</A
> *mdi,
                                             <A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);</PRE
></TD
></TR
></TABLE
><P
>Returns the pointer to the view in the MDI toplevel window <TT
CLASS="PARAMETER"
><I
>app</I
></TT
>.
If the mode is set to <TT
CLASS="LITERAL"
>GNOME_MDI_NOTEBOOK</TT
>, the view in the current
page is returned.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>mdi</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeMDI object.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>app</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeApp widget.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A pointer to a view.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21380"
></A
><H3
><A
NAME="GNOME-MDI-GET-MENUBAR-INFO"
></A
>gnome_mdi_get_menubar_info ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
>* gnome_mdi_get_menubar_info     (<A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);</PRE
></TD
></TR
></TABLE
><P
></P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>app</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeApp widget created by the MDI.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A GnomeUIInfo array used for menubar in <TT
CLASS="PARAMETER"
><I
>app</I
></TT
> if the menubar has been created with a template.
<TT
CLASS="LITERAL"
>NULL</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21403"
></A
><H3
><A
NAME="GNOME-MDI-GET-TOOLBAR-INFO"
></A
>gnome_mdi_get_toolbar_info ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
>* gnome_mdi_get_toolbar_info     (<A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);</PRE
></TD
></TR
></TABLE
><P
></P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>app</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeApp widget created by the MDI.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A GnomeUIInfo array used for toolbar in <TT
CLASS="PARAMETER"
><I
>app</I
></TT
> if the toolbar has been created with a template.
<TT
CLASS="LITERAL"
>NULL</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21426"
></A
><H3
><A
NAME="GNOME-MDI-GET-CHILD-MENU-INFO"
></A
>gnome_mdi_get_child_menu_info ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
><A
HREF="gnomeui-gnome-app-helper.html#GNOMEUIINFO"
>GnomeUIInfo</A
>* gnome_mdi_get_child_menu_info  (<A
HREF="gnomeapp.html"
>GnomeApp</A
> *app);</PRE
></TD
></TR
></TABLE
><P
></P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>app</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> A pointer to a GnomeApp widget created by the MDI.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> 
A GnomeUIInfo array used for child's menus in <TT
CLASS="PARAMETER"
><I
>app</I
></TT
> if they have been created with a template.
<TT
CLASS="LITERAL"
>NULL</TT
> otherwise.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN21449"
></A
><H2
>See Also</H2
><P
>  <A
HREF="gnomeapp.html"
>GnomeApp</A
>, <A
HREF="gnomemdichild.html"
>GnomeMDIChild</A
>, <A
HREF="gnomemdigenericchild.html"
>GnomeMDIGenericChild</A
>, <GTKDOCLINK
HREF="GNOMEMDISESSION"
>GnomeMDISession</GTKDOCLINK
></P
></DIV
><DIV
CLASS="NAVFOOTER"
><BR
CLEAR="all"><BR><TABLE
WIDTH="100%"
BORDER="0"
BGCOLOR="#000000"
CELLPADDING="1"
CELLSPACING="0"
><TR
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="left"
><A
HREF="gnomemdigenericchild.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>&#60;&#60;&#60; Previous Page</B
></FONT
></A
></TD
><TD
WIDTH="25%"
BGCOLOR="#0000C0"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="book1.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Home</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#00C000"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="gnome-objects.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Up</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
><A
HREF="gnomemessagebox.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Next Page &#62;&#62;&#62;</B
></FONT
></A
></TD
></TR
><TR
><TD
COLSPAN="2"
ALIGN="left"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>GnomeMDIGenericChild</B
></FONT
></TD
><TD
COLSPAN="2"
ALIGN="right"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>GnomeMessageBox</B
></FONT
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>