<html> <head><title>Gtk-- Reference: Gtk::Fixed</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::Fixed</h1><p> <b> A container which supports fixed sizes and positions of its children.</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: <i>none</i> <p> #include <gtk--/fixed.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%3AFixed.html#1504"><tt><font color=blue><b>Fixed</b></font></tt></a></td><td><tt>()</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=navy>GtkFixed</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AFixed.html#1500"><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>GtkFixed</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AFixed.html#1501"><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%3AFixed.html#1502"><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%3AFixed.html#1506"><tt><font color=blue><b>move</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AWidget.html"><tt><font color=navy><b>Widget</b></font></tt></a>& <tt><font color=blue>widget</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>x</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>y</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%3AFixed.html#1505"><tt><font color=blue><b>put</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AWidget.html"><tt><font color=navy><b>Widget</b></font></tt></a>& <tt><font color=blue>widget</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>x</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>y</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3AFixed.html#1503"><tt><font color=blue><b>~Fixed</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> The GtkFixed widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels.<br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <a name="1500"><font size=+1><b>Gtk::Fixed::gtkobj</b></font></a> - Returns the underlaying gtk+ object.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkFixed</font></tt>*</tt> <a href="Gtk%3A%3AFixed.html#1500"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br> <a name="1502"><font size=+1><b>Gtk::Fixed::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%3AFixed.html#1502"><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="1506"><font size=+1><b>Gtk::Fixed::move</b></font></a> - Moves a child of a GtkFixed container to the given position.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AFixed.html#1506"><tt><font color=blue><b>move</b></font></tt></a><tt>(<a href="Gtk%3A%3AWidget.html"><tt><font color=navy><b>Widget</b></font></tt></a>& <tt><font color=blue>widget</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>x</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>y</font></tt>)</tt>;<br><blockquote> widget : the child widget. <P> x: The horizontal position to move the widget to. <P> y: The vertical position to move the widget to.</blockquote> <br><br> <a name="1505"><font size=+1><b>Gtk::Fixed::put</b></font></a> - Adds a widget to a GtkFixed container at the given position.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AFixed.html#1505"><tt><font color=blue><b>put</b></font></tt></a><tt>(<a href="Gtk%3A%3AWidget.html"><tt><font color=navy><b>Widget</b></font></tt></a>& <tt><font color=blue>widget</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>x</font></tt>, <tt><font color=navy>gint16</font></tt> <tt><font color=blue>y</font></tt>)</tt>;<br><blockquote> widget: The widget to add. <P> x: The horizontal position to place the widget at. <P> y: The vertical position to place the widget at.</blockquote> <br><br> <hr noshade> </html>