MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/local/ssl/share/gtk-doc/html/libgnomeui/libgnomeui-gnome-mdi-session.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gnome-mdi-session</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="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild">
<link rel="next" href="GnomeDialog.html" title="GnomeDialog">
<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="GnomeMDIGenericChild.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="GnomeDialog.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="#id3140153" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id3140256" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgnomeui-gnome-mdi-session"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3140153"></a><span class="refentrytitle">gnome-mdi-session</span>
</h2>
<p>gnome-mdi-session &#8212; </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;libgnomeui/libgnomeui.h&gt;


<a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a>* (<a href="libgnomeui-gnome-mdi-session.html#GnomeMDIChildCreator">*GnomeMDIChildCreator</a>)      (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="libgnomeui-gnome-mdi-session.html#gnome-mdi-restore-state">gnome_mdi_restore_state</a>         (<a href="GnomeMDI.html" title="GnomeMDI">GnomeMDI</a> *mdi,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *section,
                                             <a href="libgnomeui-gnome-mdi-session.html#GnomeMDIChildCreator">GnomeMDIChildCreator</a> create_child_func);
void        <a href="libgnomeui-gnome-mdi-session.html#gnome-mdi-save-state">gnome_mdi_save_state</a>            (<a href="GnomeMDI.html" title="GnomeMDI">GnomeMDI</a> *mdi,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *section);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3140256"></a><h2>Description</h2>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="id3140270"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3140280"></a><h3>
<a name="GnomeMDIChildCreator"></a>GnomeMDIChildCreator ()</h3>
<a class="indexterm" name="id3140296"></a><pre class="programlisting"><a href="GnomeMDIChild.html" title="GnomeMDIChild">GnomeMDIChild</a>* (*GnomeMDIChildCreator)      (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIChildCreator</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>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140365"></a><h3>
<a name="gnome-mdi-restore-state"></a>gnome_mdi_restore_state ()</h3>
<a class="indexterm" name="id3140381"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gnome_mdi_restore_state         (<a href="GnomeMDI.html" title="GnomeMDI">GnomeMDI</a> *mdi,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *section,
                                             <a href="libgnomeui-gnome-mdi-session.html#GnomeMDIChildCreator">GnomeMDIChildCreator</a> create_child_func);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_restore_state</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Restores the MDI state. Children are recreated with <em class="parameter"><code>create_child_func</code></em> that
restores information about a child from a config string that was provided
during saving state by the child.</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</code></em>&#160;:</span></td>
<td> A pointer to a GnomeMDI object.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>section</code></em>&#160;:</span></td>
<td> Name of the section to restore MDI state from.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>create_child_func</code></em>&#160;:</span></td>
<td> A function that recreates a child from its config string.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
TRUE if state was successfully restored, FALSE otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3140508"></a><h3>
<a name="gnome-mdi-save-state"></a>gnome_mdi_save_state ()</h3>
<a class="indexterm" name="id3140523"></a><pre class="programlisting">void        gnome_mdi_save_state            (<a href="GnomeMDI.html" title="GnomeMDI">GnomeMDI</a> *mdi,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *section);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_save_state</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Saves MDI state to the application's config file in section <em class="parameter"><code>section</code></em>.</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</code></em>&#160;:</span></td>
<td> A pointer to a GnomeMDI object.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>section</code></em>&#160;:</span></td>
<td> Name of the section that the MDI config should be saved to.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>