<html> <head><title>Gtk-- Reference: Gtk::Plug</title></head> <body bgcolor="#F0F0F0" text="#000000" link="#0000FF" vlink="#000077" alink="#FF0000"> <table align=center border=0 cellspacing=10> <tr> <td><a href="class_index.html">Class Index</a></td> <td><a href="cross_index.html">Cross Index</a></td> <td><a href="name_index.html">Namespace Index</a></td> </table> <h1 align=center>Class Gtk::Plug</h1><p> <b> Toplevel for embedding into other processes.</b><br> Contained in: <a href="Gtk.html">Gtk</a><br> Derived from: <a href="Gtk%3A%3AWindow.html">Gtk::Window</a> <br> Derived by: <i>none</i> <p> #include <gtk--/plug.h> <p> <hr noshade> <table border=0> <tr><td colspan=3><h3>public function member index:</h3></td> <tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3APlug.html#2423"><tt><font color=blue><b>Plug</b></font></tt></a></td><td><tt>(<tt><font color=purple>guint32</font></tt> <tt><font color=blue>socket_id</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=navy>GtkPlug</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3APlug.html#2419"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>()</tt>;</td> <tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>GtkPlug</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3APlug.html#2420"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="Gtk%3A%3APlug.html#2421"><tt><font color=blue><b>isA</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3APlug.html#2422"><tt><font color=blue><b>~Plug</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> Together with <tt><font color=navy><b>Gtk::Socket</b></font></tt>, <tt><font color=navy><b>Gtk::Plug</b></font></tt> 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 <tt><font color=navy><b>Gtk::Socket</b></font></tt> widget and, passes the XID of that widgets window to the other process, which then creates a <tt><font color=navy><b>Gtk::Plug</b></font></tt> window with that XID. Any widgets contained in the <tt><font color=navy><b>Gtk::Plug</b></font></tt> then will appear inside the first applications window.<br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <a name="2419"><font size=+1><b>Gtk::Plug::gtkobj</b></font></a> - Returns the underlaying gtk+ object.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkPlug</font></tt>*</tt> <a href="Gtk%3A%3APlug.html#2419"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br> <a name="2421"><font size=+1><b>Gtk::Plug::isA</b></font></a> - Returns true if object is this type.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> <a href="Gtk%3A%3APlug.html#2421"><tt><font color=blue><b>isA</b></font></tt></a><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;<br><br> <hr noshade> </html>