Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > ca81b57b553ae75608ba0fc5e7925e4e > files > 283

libgtkmm1.2-devel-1.2.10-1mdk.ppc.rpm

<html>
<head><title>Gtk-- Reference: Gtk::Bin</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::Bin</h1><p>
<b>  Signal Widget Container</b><br>
Contained in: <a href="Gtk.html">Gtk</a><br>
Derived from:
<a href="Gtk%3A%3AContainer.html">Gtk::Container</a>
<br>
Derived by:
<a href="Gtk::Alignment.html">Gtk::Alignment</a>
<a href="Gtk::Button.html">Gtk::Button</a>
<a href="Gtk::EventBox.html">Gtk::EventBox</a>
<a href="Gtk::Frame.html">Gtk::Frame</a>
<a href="Gtk::HandleBox.html">Gtk::HandleBox</a>
<a href="Gtk::Invisible.html">Gtk::Invisible</a>
<a href="Gtk::Item.html">Gtk::Item</a>
<a href="Gtk::ScrolledWindow.html">Gtk::ScrolledWindow</a>
<a href="Gtk::Viewport.html">Gtk::Viewport</a>
<a href="Gtk::Window.html">Gtk::Window</a>
<p>
#include &lt;gtk--/bin.h&gt;
<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><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ABin.html#239"><tt><font color=blue><b>add_label</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>x</font></tt>=0.0, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>y</font></tt>=0.5)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ABin.html#241"><tt><font color=blue><b>add_pixlabel</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>Gdk_Pixmap</font></tt>& <tt><font color=blue>pixmap</font></tt>, <tt>const</tt> <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>bitmap</font></tt>, <tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>x</font></tt>=0.0, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>y</font></tt>=0.5)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ABin.html#242"><tt><font color=blue><b>add_pixlabel</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>pixfile</font></tt>, <tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>x</font></tt>=0.0, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>y</font></tt>=0.5)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ABin.html#240"><tt><font color=blue><b>add_pixmap</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>Gdk_Pixmap</font></tt>& <tt><font color=blue>pixmap</font></tt>, <tt>const</tt> <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>bitmap</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><a href="Gtk%3A%3AWidget.html"><tt><font color=navy><b>Widget</b></font></tt></a>*</tt> </td><td align=right><a href="Gtk%3A%3ABin.html#237"><tt><font color=blue><b>get_child</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=navy>GtkBin</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ABin.html#233"><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>GtkBin</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ABin.html#234"><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%3ABin.html#235"><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><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ABin.html#238"><tt><font color=blue><b>remove</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3ABin.html#236"><tt><font color=blue><b>~Bin</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr><td>&nbsp;</td><tr><td colspan=3><h3>protected function member index:</h3></td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3ABin.html#243"><tt><font color=blue><b>Bin</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr><td>&nbsp;</td></table>
<hr noshade>
<h2>Description:</h2>
  Gtk_Bin is an abstract base class from which classes holding
  one widget inside of them derive.  It provides access to methods
  relevent to a single object like add_label, add_pixmap, etc.<br>
<p>
<hr noshade>
<h2>Function Member Descriptions:</h2>
<a name="233"><font size=+1><b>Gtk::Bin::gtkobj</b></font></a> -   Returns the underlaying gtk+ object.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkBin</font></tt>*</tt> <a href="Gtk%3A%3ABin.html#233"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br>
<a name="235"><font size=+1><b>Gtk::Bin::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%3ABin.html#235"><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>
<a name="238"><font size=+1><b>Gtk::Bin::remove</b></font></a> -   Remove the contained object<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3ABin.html#238"><tt><font color=blue><b>remove</b></font></tt></a><tt>()</tt>;<br><blockquote>  Since Gtk_Bin can only hold one object it is not necessary to
  specify which object to remove like other containers.</blockquote>
<br><br>
<hr noshade>
</html>