|
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>BonoboPlug</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-support-utilities.html" title="Supporting Classes">
<link rel="prev" href="bonobo-support-utilities.html" title="Supporting Classes">
<link rel="next" href="libbonoboui-bonobo-socket.html" title="BonoboSocket">
<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="bonobo-support-utilities.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="bonobo-support-utilities.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-socket.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="#id2826814" class="shortcut">Top</a>
 | 
<a href="#id2827041" class="shortcut">Description</a>
 | 
<a href="#id2826908" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id2826985" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id2827007" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libbonoboui-bonobo-plug"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2826814"></a><span class="refentrytitle">BonoboPlug</span>
</h2>
<p>BonoboPlug — Toplevel for embedding into other processes.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="BonoboPlug"></a><pre class="synopsis">
<a href="libbonoboui-bonobo-plug.html#BonoboPlug-struct">BonoboPlug</a>;
<a href="libbonoboui-bonobo-plug.html#BonoboPlugPrivate">BonoboPlugPrivate</a>;
<a href="libbonoboui-bonobo-plug.html#BonoboPlugClass">BonoboPlugClass</a>;
void <a href="libbonoboui-bonobo-plug.html#bonobo-plug-construct">bonobo_plug_construct</a> (<a href="libbonoboui-bonobo-plug.html#BonoboPlug">BonoboPlug</a> *plug,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> socket_id);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libbonoboui-bonobo-plug.html#bonobo-plug-new">bonobo_plug_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> socket_id);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2826908"></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>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkPlug.html"
>GtkPlug</a>
+----BonoboPlug
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2826985"></a><h2>Implemented Interfaces</h2>
<p>
BonoboPlug implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2827007"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="libbonoboui-bonobo-plug.html#BonoboPlug--event-forwarding">event-forwarding</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2827041"></a><h2>Description</h2>
<p>
This is an internal support routine of the X code in Bonobo.
</p>
<p>
Together with <a href="libbonoboui-bonobo-socket.html#BonoboSocket"><span class="type">BonoboSocket</span></a>, <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a> provides the ability
to embed widgets from one process into another process
in a fashion that is transparent to the user. One
process creates a <a href="libbonoboui-bonobo-socket.html#BonoboSocket"><span class="type">BonoboSocket</span></a> widget and, passes the
XID of that widgets window to the other process,
which then creates a <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a> window with that XID.
Any widgets contained in the <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a> then will appear
inside the first applications window.
</p>
<p>
This code is a modified copy of <a
href="/usr/share/gtk-doc/html/gtk/GtkPlug.html"
><span class="type">GtkPlug</span></a>, it is included in
bonobo since this forked version could be effectively bug fixed,
and integrated with the <a href="libbonoboui-bonobo-control.html#BonoboControl"><span class="type">BonoboControl</span></a> / <span class="type">BonoboControlframe</span> CORBA
pipe, to ensure synchronization between the X and CORBA transports.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2827138"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2827149"></a><h3>
<a name="BonoboPlug-struct"></a>BonoboPlug</h3>
<a class="indexterm" name="id2827161"></a><pre class="programlisting">typedef struct _BonoboPlug BonoboPlug;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2827176"></a><h3>
<a name="BonoboPlugPrivate"></a>BonoboPlugPrivate</h3>
<a class="indexterm" name="id2827189"></a><pre class="programlisting">typedef struct _BonoboPlugPrivate BonoboPlugPrivate;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2827204"></a><h3>
<a name="BonoboPlugClass"></a>BonoboPlugClass</h3>
<a class="indexterm" name="id2827217"></a><pre class="programlisting">typedef struct {
GtkPlugClass parent_class;
gpointer dummy[4];
} BonoboPlugClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2827234"></a><h3>
<a name="bonobo-plug-construct"></a>bonobo_plug_construct ()</h3>
<a class="indexterm" name="id2827247"></a><pre class="programlisting">void bonobo_plug_construct (<a href="libbonoboui-bonobo-plug.html#BonoboPlug">BonoboPlug</a> *plug,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> socket_id);</pre>
<p>
Finish the creation of a <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a> widget. This function
will generally only be used by classes deriving
from <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>plug</code></em> :</span></td>
<td> The <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>socket_id</code></em> :</span></td>
<td> the XID of the socket's window.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2827344"></a><h3>
<a name="bonobo-plug-new"></a>bonobo_plug_new ()</h3>
<a class="indexterm" name="id2827357"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* bonobo_plug_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> socket_id);</pre>
<p>
Create a new plug widget inside the <a
href="/usr/share/gtk-doc/html/gtk/GtkSocket.html"
><span class="type">GtkSocket</span></a> identified
by <em class="parameter"><code>socket_id</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>socket_id</code></em> :</span></td>
<td> the XID of the socket's window.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the new <a href="libbonoboui-bonobo-plug.html#BonoboPlug"><span class="type">BonoboPlug</span></a> widget.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2827441"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2827451"></a><h3>
<a name="BonoboPlug--event-forwarding"></a>The "<code class="literal">event-forwarding</code>" property</h3>
<a class="indexterm" name="id2827468"></a><pre class="programlisting"> "event-forwarding" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether X events should be forwarded.</p>
<p>Default value: TRUE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2827496"></a><h2>See Also</h2>
<p>
<a href="libbonoboui-bonobo-socket.html#BonoboSocket"><span class="type">BonoboSocket</span></a>, <a href="libbonoboui-bonobo-control-frame.html#BonoboControlFrame"><span class="type">BonoboControlFrame</span></a>.
</p>
</div>
</div>
</body>
</html>