<!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>Gtk::Bin 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%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Gtk::Bin Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1>A container with just one child. <a href="#_details">More...</a> <p> Inheritance diagram for Gtk::Bin:<p><center><img src="classGtk_1_1Bin__inherit__graph.png" border="0" usemap="#Gtk_1_1Bin__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1Bin__inherit__map"> <area href="classGtk_1_1Alignment.html" shape="rect" coords="287,5,383,24" alt=""> <area href="classGtk_1_1Button.html" shape="rect" coords="296,48,373,67" alt=""> <area href="classGtk_1_1EventBox.html" shape="rect" coords="288,91,381,109" alt=""> <area href="classGtk_1_1Frame.html" shape="rect" coords="296,133,373,152" alt=""> <area href="classGtk_1_1HandleBox.html" shape="rect" coords="284,176,385,195" alt=""> <area href="classGtk_1_1Item.html" shape="rect" coords="303,219,367,237" alt=""> <area href="classGtk_1_1ScrolledWindow.html" shape="rect" coords="268,261,401,280" alt=""> <area href="classGtk_1_1Viewport.html" shape="rect" coords="289,304,380,323" alt=""> <area href="classGtk_1_1Window.html" shape="rect" coords="292,347,377,365" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="17,176,113,195" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Bin-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 Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a0">~Bin</a> ()</td></tr> <tr><td nowrap align=right valign=top>GtkBin* </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a1">gobj</a> ()</td></tr> <tr><td nowrap align=right valign=top>const GtkBin* </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a2">gobj</a> () const</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a3">get_child</a> ()</td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a4">get_child</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a5">remove</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Remove the contained object Since this can only hold one object it is not necessary to specify which object to remove like other containers.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a6">add_label</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& label, bool mnemonic=false, double x_align=0.5, double y_align=0.5)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a7">add_label</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& label, bool mnemonic, AlignmentEnum x_align, AlignmentEnum y_align=ALIGN_CENTER)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a8">add_pixmap</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& pixmap, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a9">add_pixlabel</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& pixmap, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& label, double x_align=0.5, double y_align=0.5)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#a10">add_pixlabel</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& pixfile, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& label, double x_align=0.5, double y_align=0.5)</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#b0">Bin</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 nowrap align=right valign=top>Gtk::Bin* </td><td valign=bottom><a class="el" href="classGtk_1_1Bin.html#k0">wrap</a> (GtkBin* object, bool take_copy=false)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A container with just one child. <p> This is an abstract base class from which all classes holding up to 1 widget inside of them derive. It provides access to methods relevent to a single object, such as add_label, add_pixmap, etc. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Gtk::Bin::~Bin"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual Gtk::Bin::~Bin </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b0" doxytag="Gtk::Bin::Bin"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Bin::Bin </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a7" doxytag="Gtk::Bin::add_label"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Bin::add_label </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>label</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>mnemonic</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>AlignmentEnum </td> <td class="mdname" nowrap> <em>x_align</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>AlignmentEnum </td> <td class="mdname" nowrap> <em>y_align</em> = ALIGN_CENTER</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a6" doxytag="Gtk::Bin::add_label"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Bin::add_label </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>label</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>mnemonic</em> = false, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>x_align</em> = 0.5, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>y_align</em> = 0.5</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a10" doxytag="Gtk::Bin::add_pixlabel"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Bin::add_pixlabel </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>pixfile</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>label</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>x_align</em> = 0.5, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>y_align</em> = 0.5</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a9" doxytag="Gtk::Bin::add_pixlabel"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Bin::add_pixlabel </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& </td> <td class="mdname" nowrap> <em>pixmap</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>label</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>x_align</em> = 0.5, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>y_align</em> = 0.5</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a8" doxytag="Gtk::Bin::add_pixmap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Bin::add_pixmap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& </td> <td class="mdname" nowrap> <em>pixmap</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a4" doxytag="Gtk::Bin::get_child"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Bin::get_child </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a3" doxytag="Gtk::Bin::get_child"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Bin::get_child </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="Gtk::Bin::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const GtkBin* Gtk::Bin::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Container.html#a2">Gtk::Container</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1Alignment.html#a2">Gtk::Alignment</a>, <a class="el" href="classGtk_1_1AspectFrame.html#a2">Gtk::AspectFrame</a>, <a class="el" href="classGtk_1_1Button.html#a2">Gtk::Button</a>, <a class="el" href="classGtk_1_1CheckButton.html#a2">Gtk::CheckButton</a>, <a class="el" href="classGtk_1_1CheckMenuItem.html#a2">Gtk::CheckMenuItem</a>, <a class="el" href="classGtk_1_1ColorSelectionDialog.html#a2">Gtk::ColorSelectionDialog</a>, <a class="el" href="classGtk_1_1ComboDropDownItem.html#a2">Gtk::ComboDropDownItem</a>, <a class="el" href="classGtk_1_1Dialog.html#a2">Gtk::Dialog</a>, <a class="el" href="classGtk_1_1EventBox.html#a2">Gtk::EventBox</a>, <a class="el" href="classGtk_1_1FileSelection.html#a2">Gtk::FileSelection</a>, <a class="el" href="classGtk_1_1FontSelectionDialog.html#a2">Gtk::FontSelectionDialog</a>, <a class="el" href="classGtk_1_1Frame.html#a2">Gtk::Frame</a>, <a class="el" href="classGtk_1_1HandleBox.html#a2">Gtk::HandleBox</a>, <a class="el" href="classGtk_1_1ImageMenuItem.html#a2">Gtk::ImageMenuItem</a>, <a class="el" href="classGtk_1_1InputDialog.html#a2">Gtk::InputDialog</a>, <a class="el" href="classGtk_1_1Item.html#a2">Gtk::Item</a>, <a class="el" href="classGtk_1_1MenuItem.html#a2">Gtk::MenuItem</a>, <a class="el" href="classGtk_1_1MessageDialog.html#a2">Gtk::MessageDialog</a>, <a class="el" href="classGtk_1_1OptionMenu.html#a2">Gtk::OptionMenu</a>, <a class="el" href="classGtk_1_1Plug.html#a2">Gtk::Plug</a>, <a class="el" href="classGtk_1_1RadioButton.html#a2">Gtk::RadioButton</a>, <a class="el" href="classGtk_1_1RadioMenuItem.html#a2">Gtk::RadioMenuItem</a>, <a class="el" href="classGtk_1_1ScrolledWindow.html#a2">Gtk::ScrolledWindow</a>, <a class="el" href="classGtk_1_1SeparatorMenuItem.html#a2">Gtk::SeparatorMenuItem</a>, <a class="el" href="classGtk_1_1TearoffMenuItem.html#a2">Gtk::TearoffMenuItem</a>, <a class="el" href="classGtk_1_1ToggleButton.html#a2">Gtk::ToggleButton</a>, <a class="el" href="classGtk_1_1Viewport.html#a2">Gtk::Viewport</a>, and <a class="el" href="classGtk_1_1Window.html#a2">Gtk::Window</a>. </td> </tr> </table> <a name="a1" doxytag="Gtk::Bin::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GtkBin* Gtk::Bin::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Container.html#a1">Gtk::Container</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1Alignment.html#a1">Gtk::Alignment</a>, <a class="el" href="classGtk_1_1AspectFrame.html#a1">Gtk::AspectFrame</a>, <a class="el" href="classGtk_1_1Button.html#a1">Gtk::Button</a>, <a class="el" href="classGtk_1_1CheckButton.html#a1">Gtk::CheckButton</a>, <a class="el" href="classGtk_1_1CheckMenuItem.html#a1">Gtk::CheckMenuItem</a>, <a class="el" href="classGtk_1_1ColorSelectionDialog.html#a1">Gtk::ColorSelectionDialog</a>, <a class="el" href="classGtk_1_1ComboDropDownItem.html#a1">Gtk::ComboDropDownItem</a>, <a class="el" href="classGtk_1_1Dialog.html#a1">Gtk::Dialog</a>, <a class="el" href="classGtk_1_1EventBox.html#a1">Gtk::EventBox</a>, <a class="el" href="classGtk_1_1FileSelection.html#a1">Gtk::FileSelection</a>, <a class="el" href="classGtk_1_1FontSelectionDialog.html#a1">Gtk::FontSelectionDialog</a>, <a class="el" href="classGtk_1_1Frame.html#a1">Gtk::Frame</a>, <a class="el" href="classGtk_1_1HandleBox.html#a1">Gtk::HandleBox</a>, <a class="el" href="classGtk_1_1ImageMenuItem.html#a1">Gtk::ImageMenuItem</a>, <a class="el" href="classGtk_1_1InputDialog.html#a1">Gtk::InputDialog</a>, <a class="el" href="classGtk_1_1Item.html#a1">Gtk::Item</a>, <a class="el" href="classGtk_1_1MenuItem.html#a1">Gtk::MenuItem</a>, <a class="el" href="classGtk_1_1MessageDialog.html#a1">Gtk::MessageDialog</a>, <a class="el" href="classGtk_1_1OptionMenu.html#a1">Gtk::OptionMenu</a>, <a class="el" href="classGtk_1_1Plug.html#a1">Gtk::Plug</a>, <a class="el" href="classGtk_1_1RadioButton.html#a1">Gtk::RadioButton</a>, <a class="el" href="classGtk_1_1RadioMenuItem.html#a1">Gtk::RadioMenuItem</a>, <a class="el" href="classGtk_1_1ScrolledWindow.html#a1">Gtk::ScrolledWindow</a>, <a class="el" href="classGtk_1_1SeparatorMenuItem.html#a1">Gtk::SeparatorMenuItem</a>, <a class="el" href="classGtk_1_1TearoffMenuItem.html#a1">Gtk::TearoffMenuItem</a>, <a class="el" href="classGtk_1_1ToggleButton.html#a1">Gtk::ToggleButton</a>, <a class="el" href="classGtk_1_1Viewport.html#a1">Gtk::Viewport</a>, and <a class="el" href="classGtk_1_1Window.html#a1">Gtk::Window</a>. </td> </tr> </table> <a name="a5" doxytag="Gtk::Bin::remove"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Bin::remove </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Remove the contained object Since this can only hold one object it is not necessary to specify which object to remove like other containers. <p> When calling <a class="el" href="classGtk_1_1Bin.html#a5">remove()</a> on a <a class="el" href="classGtk_1_1ScrolledWindow.html">Gtk::ScrolledWindow</a> this might not remove the expected child directly, because <a class="el" href="classGtk_1_1ScrolledWindow.html#a19">Gtk::ScrolledWindow::add()</a> sometimes creates a Gtk::ViewPort child and places the widget in that. </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="k0" doxytag="Gtk::Bin::wrap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Bin* wrap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">GtkBin* </td> <td class="mdname" nowrap> <em>object</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>take_copy</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [related]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="bin_8h.html">bin.h</a></ul> <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>