|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/gtk-doc/html/libgnomeui/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomeMDIChild</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="deprecated.html" title="Deprecated modules">
<link rel="prev" href="GnomeMDI.html" title="GnomeMDI">
<link rel="next" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="GNOME UI Library (libgnomeui)">
</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="GnomeMDI.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="GnomeMDIGenericChild.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3133271" class="shortcut">Top</a>
 | 
<a href="#id3133590" class="shortcut">Description</a>
 | 
<a href="#id3133542" class="shortcut">Object Hierarchy</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GnomeMDIChild"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3133271"></a><span class="refentrytitle">GnomeMDIChild</span>
</h2>
<p>GnomeMDIChild — </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* (<a href="GnomeMDIChild.html#GnomeMDIChildViewCreator">*GnomeMDIChildViewCreator</a>) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* (<a href="GnomeMDIChild.html#GnomeMDIChildMenuCreator">*GnomeMDIChildMenuCreator</a>) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* (<a href="GnomeMDIChild.html#GnomeMDIChildConfigFunc">*GnomeMDIChildConfigFunc</a>) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* (<a href="GnomeMDIChild.html#GnomeMDIChildLabelFunc">*GnomeMDIChildLabelFunc</a>) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );
<a href="GnomeMDIChild.html#GnomeMDIChild-struct">GnomeMDIChild</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GnomeMDIChild.html#gnome-mdi-child-add-view">gnome_mdi_child_add_view</a> (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child);
void <a href="GnomeMDIChild.html#gnome-mdi-child-remove-view">gnome_mdi_child_remove_view</a> (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *view);
void <a href="GnomeMDIChild.html#gnome-mdi-child-set-name">gnome_mdi_child_set_name</a> (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
void <a href="GnomeMDIChild.html#gnome-mdi-child-set-menu-template">gnome_mdi_child_set_menu_template</a>
(<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child,
<a href="libgnomeui-gnome-app-helper.html#GnomeUIInfo">GnomeUIInfo</a> *menu_tmpl);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3133542"></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="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----GnomeMDIChild
+----<a href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild">GnomeMDIGenericChild</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3133590"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3133604"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3133614"></a><h3>
<a name="GnomeMDIChildViewCreator"></a>GnomeMDIChildViewCreator ()</h3>
<a class="indexterm" name="id3133630"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* (*GnomeMDIChildViewCreator) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIChildViewCreator</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param2</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133720"></a><h3>
<a name="GnomeMDIChildMenuCreator"></a>GnomeMDIChildMenuCreator ()</h3>
<a class="indexterm" name="id3133735"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* (*GnomeMDIChildMenuCreator) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIChildMenuCreator</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param2</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param3</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133846"></a><h3>
<a name="GnomeMDIChildConfigFunc"></a>GnomeMDIChildConfigFunc ()</h3>
<a class="indexterm" name="id3133861"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* (*GnomeMDIChildConfigFunc) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIChildConfigFunc</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param2</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3133951"></a><h3>
<a name="GnomeMDIChildLabelFunc"></a>GnomeMDIChildLabelFunc ()</h3>
<a class="indexterm" name="id3133966"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* (*GnomeMDIChildLabelFunc) (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> );</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIChildLabelFunc</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param2</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>Param3</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134077"></a><h3>
<a name="GnomeMDIChild-struct"></a>GnomeMDIChild</h3>
<a class="indexterm" name="id3134091"></a><pre class="programlisting">typedef struct _GnomeMDIChild GnomeMDIChild;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIChild</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134119"></a><h3>
<a name="gnome-mdi-child-add-view"></a>gnome_mdi_child_add_view ()</h3>
<a class="indexterm" name="id3134134"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gnome_mdi_child_add_view (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_child_add_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new view of a child (a GtkWidget) adds it to the list
of the views and returns a pointer to it. Virtual function
that has to be specified for classes derived from GnomeMDIChild
is used to create the new view.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>mdi_child</code></em> :</span></td>
<td> A pointer to a GnomeMDIChild object.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
A pointer to the new view.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134212"></a><h3>
<a name="gnome-mdi-child-remove-view"></a>gnome_mdi_child_remove_view ()</h3>
<a class="indexterm" name="id3134228"></a><pre class="programlisting">void gnome_mdi_child_remove_view (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *view);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_child_remove_view</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes view <em class="parameter"><code>view</code></em> from the list of <em class="parameter"><code>mdi_child</code></em>'s views and
unrefs it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>mdi_child</code></em> :</span></td>
<td> A pointer to a GnomeMDIChild object.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>view</code></em> :</span></td>
<td> View to be removed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134325"></a><h3>
<a name="gnome-mdi-child-set-name"></a>gnome_mdi_child_set_name ()</h3>
<a class="indexterm" name="id3134340"></a><pre class="programlisting">void gnome_mdi_child_set_name (<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_child_set_name</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Changes name of <em class="parameter"><code>mdi_child</code></em> to <em class="parameter"><code>name</code></em>. <em class="parameter"><code>name</code></em> is duplicated and stored
in <em class="parameter"><code>mdi_child</code></em>. If <em class="parameter"><code>mdi_child</code></em> has already been added to GnomeMDI,
it also takes care of updating it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>mdi_child</code></em> :</span></td>
<td> A pointer to a GnomeMDIChild object.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
<td> String containing the new name for the child.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3134458"></a><h3>
<a name="gnome-mdi-child-set-menu-template"></a>gnome_mdi_child_set_menu_template ()</h3>
<a class="indexterm" name="id3134474"></a><pre class="programlisting">void gnome_mdi_child_set_menu_template
(<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a> *mdi_child,
<a href="libgnomeui-gnome-app-helper.html#GnomeUIInfo">GnomeUIInfo</a> *menu_tmpl);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_child_set_menu_template</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the template for menus that are added and removed when differrent
children get activated. This way, each child can modify the MDI menubar
to suit its needs. If no template is set, the create_menus virtual
function will be used for creating these menus (it has to return a
GList of menu items). If no such function is specified, the menubar will
be unchanged by MDI children.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>mdi_child</code></em> :</span></td>
<td> A pointer to a GnomeMDIChild object.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>menu_tmpl</code></em> :</span></td>
<td> A GnomeUIInfo array describing the child specific menus.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>