<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>gtkmm 2.4: Gtk::Plug Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Plug.html">Plug</a></div> <h1>Gtk::Plug Class Reference</h1><!-- doxytag: class="Gtk::Plug" --><!-- doxytag: inherits="Gtk::Window" -->Inheritance diagram for Gtk::Plug:<p><center><img src="classGtk_1_1Plug__inherit__graph.png" border="0" usemap="#Gtk_1_1Plug__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1Plug__inherit__map"> <area href="classGtk_1_1Window.html" shape="rect" coords="68,548,167,575" alt=""> <area href="classGtk_1_1Bin.html" shape="rect" coords="81,471,153,498" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="61,394,173,420" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="71,316,164,343" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,266" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="7,162,100,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="53,84,179,111" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="128,162,237,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="60,7,172,34" alt=""> <area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,266" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Plug-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GdkNativeWindow </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#578a1acb0c06a4851561a7ac3d2c1031">get_id</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the window ID of a <a class="el" href="classGtk_1_1Plug.html">Gtk::Plug</a> widget, which can then be used to embed this window inside another window, for instance with <a class="el" href="classGtk_1_1Socket.html#78302d12dea4720a2eb7376151e4e2c2">Gtk::Socket::add_id()</a>. <a href="#578a1acb0c06a4851561a7ac3d2c1031"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkPlug* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#615223bd120d3fcdf036024f13561409">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#615223bd120d3fcdf036024f13561409"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkPlug* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#c215b1d0d84d6783f9d737748cbc533b">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#c215b1d0d84d6783f9d737748cbc533b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#dd81381c9c3611b09a3c9fcb19d977cb">Plug</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>>& display, GdkNativeWindow socket_id)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#947be6e5d02da973350ab41021f9e904">Plug</a> (GdkNativeWindow socket_id)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#c2869cbcc09c3f3ee74a4fe7318437ce">Plug</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#b338d0de0b506a7eacabc705914f615a">signal_embedded</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_embedded()</code> </dd></dl> <a href="#b338d0de0b506a7eacabc705914f615a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#601d5fe6ff5e5ffab1f40070e2b41396">~Plug</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#f02c6e2990aa24fceeafab7803ea134b">on_embedded</a> ()</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Plug.html">Gtk::Plug</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Plug.html#bf2dce5cd058be0f2fae4ec616d6a662">wrap</a> (GtkPlug* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#bf2dce5cd058be0f2fae4ec616d6a662"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="601d5fe6ff5e5ffab1f40070e2b41396"></a><!-- doxytag: member="Gtk::Plug::~Plug" ref="601d5fe6ff5e5ffab1f40070e2b41396" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Plug::~Plug </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="c2869cbcc09c3f3ee74a4fe7318437ce"></a><!-- doxytag: member="Gtk::Plug::Plug" ref="c2869cbcc09c3f3ee74a4fe7318437ce" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Plug::Plug </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="947be6e5d02da973350ab41021f9e904"></a><!-- doxytag: member="Gtk::Plug::Plug" ref="947be6e5d02da973350ab41021f9e904" args="(GdkNativeWindow socket_id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Plug::Plug </td> <td>(</td> <td class="paramtype">GdkNativeWindow </td> <td class="paramname"> <em>socket_id</em> </td> <td> ) </td> <td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="dd81381c9c3611b09a3c9fcb19d977cb"></a><!-- doxytag: member="Gtk::Plug::Plug" ref="dd81381c9c3611b09a3c9fcb19d977cb" args="(const Glib::RefPtr< Gdk::Display > &display, GdkNativeWindow socket_id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Plug::Plug </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Display.html">Gdk::Display</a>>& </td> <td class="paramname"> <em>display</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">GdkNativeWindow </td> <td class="paramname"> <em>socket_id</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="578a1acb0c06a4851561a7ac3d2c1031"></a><!-- doxytag: member="Gtk::Plug::get_id" ref="578a1acb0c06a4851561a7ac3d2c1031" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkNativeWindow Gtk::Plug::get_id </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the window ID of a <a class="el" href="classGtk_1_1Plug.html">Gtk::Plug</a> widget, which can then be used to embed this window inside another window, for instance with <a class="el" href="classGtk_1_1Socket.html#78302d12dea4720a2eb7376151e4e2c2">Gtk::Socket::add_id()</a>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The window ID for the plug. </dd></dl> </div> </div><p> <a class="anchor" name="615223bd120d3fcdf036024f13561409"></a><!-- doxytag: member="Gtk::Plug::gobj" ref="615223bd120d3fcdf036024f13561409" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkPlug* Gtk::Plug::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Window.html#c3e302dafa3d1474738f55df906fe100">Gtk::Window</a>. </div> </div><p> <a class="anchor" name="c215b1d0d84d6783f9d737748cbc533b"></a><!-- doxytag: member="Gtk::Plug::gobj" ref="c215b1d0d84d6783f9d737748cbc533b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkPlug* Gtk::Plug::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Window.html#467102527550b51eb4036390caeedb5c">Gtk::Window</a>. </div> </div><p> <a class="anchor" name="f02c6e2990aa24fceeafab7803ea134b"></a><!-- doxytag: member="Gtk::Plug::on_embedded" ref="f02c6e2990aa24fceeafab7803ea134b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Plug::on_embedded </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b338d0de0b506a7eacabc705914f615a"></a><!-- doxytag: member="Gtk::Plug::signal_embedded" ref="b338d0de0b506a7eacabc705914f615a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Gtk::Plug::signal_embedded </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_embedded()</code> </dd></dl> <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="bf2dce5cd058be0f2fae4ec616d6a662"></a><!-- doxytag: member="Gtk::Plug::wrap" ref="bf2dce5cd058be0f2fae4ec616d6a662" args="(GtkPlug *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Plug.html">Gtk::Plug</a>* wrap </td> <td>(</td> <td class="paramtype">GtkPlug * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="plug_8h.html">plug.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>