|
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/libbonoboui/ |
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>bonobo-window</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="LibBonoboUI API Reference Manual">
<link rel="up" href="bonobo-ui.html" title="Bonobo UI">
<link rel="prev" href="libbonoboui-bonobo-widget.html" title="BonoboWidget">
<link rel="next" href="libbonoboui-bonobo-ui-component.html" title="BonoboUIComponent">
<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="Object Hierarchy">
<link rel="chapter" href="bonobo-controls.html" title="Controls">
<link rel="chapter" href="bonobo-ui.html" title="Bonobo UI">
<link rel="chapter" href="bonobo-support-utilities.html" title="Supporting Classes">
</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="libbonoboui-bonobo-widget.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="bonobo-ui.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">LibBonoboUI API Reference Manual</th>
<td><a accesskey="n" href="libbonoboui-bonobo-ui-component.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="#id2768829" class="shortcut">Top</a>
 | 
<a href="#id2769323" class="shortcut">Description</a>
 | 
<a href="#id2769196" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id2769266" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id2769288" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libbonoboui-bonobo-window"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2768829"></a><span class="refentrytitle">bonobo-window</span>
</h2>
<p>bonobo-window — </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="BonoboWindow"></a><pre class="synopsis">
<a href="libbonoboui-bonobo-window.html#BonoboWindowPrivate">BonoboWindowPrivate</a>;
<a href="libbonoboui-bonobo-window.html#BonoboWindow-struct">BonoboWindow</a>;
<a href="libbonoboui-bonobo-window.html#BonoboWindowClass">BonoboWindowClass</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libbonoboui-bonobo-window.html#bonobo-window-construct">bonobo_window_construct</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
<a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer">BonoboUIContainer</a> *ui_container,
const char *win_name,
const char *title);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libbonoboui-bonobo-window.html#bonobo-window-new">bonobo_window_new</a> (const char *win_name,
const char *title);
void <a href="libbonoboui-bonobo-window.html#bonobo-window-set-contents">bonobo_window_set_contents</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *contents);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libbonoboui-bonobo-window.html#bonobo-window-get-contents">bonobo_window_get_contents</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);
<a href="libbonoboui-bonobo-ui-engine.html#BonoboUIEngine">BonoboUIEngine</a>* <a href="libbonoboui-bonobo-window.html#bonobo-window-get-ui-engine">bonobo_window_get_ui_engine</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);
<a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer">BonoboUIContainer</a>* <a href="libbonoboui-bonobo-window.html#bonobo-window-get-ui-container">bonobo_window_get_ui_container</a>
(<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);
void <a href="libbonoboui-bonobo-window.html#bonobo-window-set-name">bonobo_window_set_name</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
const char *win_name);
char* <a href="libbonoboui-bonobo-window.html#bonobo-window-get-name">bonobo_window_get_name</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html#GtkAccelGroup"
>GtkAccelGroup</a>* <a href="libbonoboui-bonobo-window.html#bonobo-window-get-accel-group">bonobo_window_get_accel_group</a>
(<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);
void <a href="libbonoboui-bonobo-window.html#bonobo-window-add-popup">bonobo_window_add_popup</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
<a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
>GtkMenu</a> *popup,
const char *path);
void <a href="libbonoboui-bonobo-window.html#bonobo-window-remove-popup">bonobo_window_remove_popup</a> (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
const char *path);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2769196"></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>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a>
+----BonoboWindow
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2769266"></a><h2>Implemented Interfaces</h2>
<p>
BonoboWindow implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2769288"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="libbonoboui-bonobo-window.html#BonoboWindow--win-name">win-name</a>" <a
href="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2769323"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2769338"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2769348"></a><h3>
<a name="BonoboWindowPrivate"></a>BonoboWindowPrivate</h3>
<a class="indexterm" name="id2769360"></a><pre class="programlisting">typedef struct _BonoboWindowPrivate BonoboWindowPrivate;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769376"></a><h3>
<a name="BonoboWindow-struct"></a>BonoboWindow</h3>
<a class="indexterm" name="id2769389"></a><pre class="programlisting">typedef struct _BonoboWindow BonoboWindow;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769404"></a><h3>
<a name="BonoboWindowClass"></a>BonoboWindowClass</h3>
<a class="indexterm" name="id2769417"></a><pre class="programlisting">typedef struct {
GtkWindowClass parent_class;
gpointer dummy[4];
} BonoboWindowClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769434"></a><h3>
<a name="bonobo-window-construct"></a>bonobo_window_construct ()</h3>
<a class="indexterm" name="id2769447"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* bonobo_window_construct (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
<a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer">BonoboUIContainer</a> *ui_container,
const char *win_name,
const char *title);</pre>
<p>
Don't use this ever - use construct time properties instead.
TODO: Remove this when we are allowed API changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the window to construct
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ui_container</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>win_name</code></em> :</span></td>
<td> the window name
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> the window's title for the title bar
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a constructed window
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769576"></a><h3>
<a name="bonobo-window-new"></a>bonobo_window_new ()</h3>
<a class="indexterm" name="id2769588"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* bonobo_window_new (const char *win_name,
const char *title);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win_name</code></em> :</span></td>
<td> the window name
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> the window's title for the title bar
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a new BonoboWindow
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769670"></a><h3>
<a name="bonobo-window-set-contents"></a>bonobo_window_set_contents ()</h3>
<a class="indexterm" name="id2769684"></a><pre class="programlisting">void bonobo_window_set_contents (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *contents);</pre>
<p>
Insert a widget into the main window contents.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>contents</code></em> :</span></td>
<td> the new widget for it to contain.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769756"></a><h3>
<a name="bonobo-window-get-contents"></a>bonobo_window_get_contents ()</h3>
<a class="indexterm" name="id2769770"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* bonobo_window_get_contents (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the contained widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769830"></a><h3>
<a name="bonobo-window-get-ui-engine"></a>bonobo_window_get_ui_engine ()</h3>
<a class="indexterm" name="id2769844"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-engine.html#BonoboUIEngine">BonoboUIEngine</a>* bonobo_window_get_ui_engine (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the <a href="libbonoboui-bonobo-ui-engine.html#BonoboUIEngine"><span class="type">BonoboUIEngine</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769912"></a><h3>
<a name="bonobo-window-get-ui-container"></a>bonobo_window_get_ui_container ()</h3>
<a class="indexterm" name="id2769925"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer">BonoboUIContainer</a>* bonobo_window_get_ui_container
(<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the <a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer"><span class="type">BonoboUIContainer</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2769994"></a><h3>
<a name="bonobo-window-set-name"></a>bonobo_window_set_name ()</h3>
<a class="indexterm" name="id2770007"></a><pre class="programlisting">void bonobo_window_set_name (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
const char *win_name);</pre>
<p>
Set the name of the window - used for configuration
serialization.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>win_name</code></em> :</span></td>
<td> the window name
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2770080"></a><h3>
<a name="bonobo-window-get-name"></a>bonobo_window_get_name ()</h3>
<a class="indexterm" name="id2770093"></a><pre class="programlisting">char* bonobo_window_get_name (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the name of the window
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2770153"></a><h3>
<a name="bonobo-window-get-accel-group"></a>bonobo_window_get_accel_group ()</h3>
<a class="indexterm" name="id2770166"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html#GtkAccelGroup"
>GtkAccelGroup</a>* bonobo_window_get_accel_group
(<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>win</code></em> :</span></td>
<td> the bonobo window
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the associated accelerator group for this window
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2770228"></a><h3>
<a name="bonobo-window-add-popup"></a>bonobo_window_add_popup ()</h3>
<a class="indexterm" name="id2770242"></a><pre class="programlisting">void bonobo_window_add_popup (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
<a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
>GtkMenu</a> *popup,
const char *path);</pre>
<p>
Add a popup <em class="parameter"><code>menu</code></em> at <em class="parameter"><code>path</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>win</code></em> :</span></td>
<td> the window
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>popup</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> the path
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2770345"></a><h3>
<a name="bonobo-window-remove-popup"></a>bonobo_window_remove_popup ()</h3>
<a class="indexterm" name="id2770359"></a><pre class="programlisting">void bonobo_window_remove_popup (<a href="libbonoboui-bonobo-window.html#BonoboWindow">BonoboWindow</a> *win,
const char *path);</pre>
<p>
Remove the popup at <em class="parameter"><code>path</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>win</code></em> :</span></td>
<td> the window
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> the path
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2770436"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2770447"></a><h3>
<a name="BonoboWindow--win-name"></a>The "<code class="literal">win-name</code>" property</h3>
<a class="indexterm" name="id2770463"></a><pre class="programlisting"> "win-name" <a
href="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct</pre>
<p>Name of the window - used for configuration serialization.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
</body>
</html>