<html> <head><title>Gtk-- Reference: Gtk::Arrow</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::Arrow</h1><p> <b> Produces an arrow pointing in one of the four cardinal directions.</b><br> Contained in: <a href="Gtk.html">Gtk</a><br> Derived from: <a href="Gtk%3A%3AMisc.html">Gtk::Misc</a> <br> Derived by: <i>none</i> <p> #include <gtk--/arrow.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%3AArrow.html#107"><tt><font color=blue><b>Arrow</b></font></tt></a></td><td><tt>(<tt><font color=navy>GtkArrowType</font></tt> <tt><font color=blue>arrow_type</font></tt>, <tt><font color=navy>GtkShadowType</font></tt> <tt><font color=blue>shadow_type</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=navy>GtkArrow</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AArrow.html#103"><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>GtkArrow</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AArrow.html#104"><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%3AArrow.html#105"><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%3AArrow.html#108"><tt><font color=blue><b>set</b></font></tt></a></td><td><tt>(<tt><font color=navy>GtkArrowType</font></tt> <tt><font color=blue>arrow_type</font></tt>, <tt><font color=navy>GtkShadowType</font></tt> <tt><font color=blue>shadow_type</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3AArrow.html#106"><tt><font color=blue><b>~Arrow</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> This is intended for use where a directional arrow (in one of the four cardinal directions) is desired. As such, it has very limited functionality and basically only draws itself in a particular direction and with a particular shadow type. <P> <tt><a href="Gtk.html"><tt><font color=navy><b>Gtk</b></font></tt></a>::<a href="Gtk%3A%3AArrow.html"><tt><font color=navy><b>Arrow</b></font></tt></a></tt> will fill any space alloted to it, but since it is inherited from <tt><a href="Gtk.html"><tt><font color=navy><b>Gtk</b></font></tt></a>::<a href="Gtk%3A%3AMisc.html"><tt><font color=navy><b>Misc</b></font></tt></a></tt>, it can be padded and/or aligned, to fill exactly the space the programmer desires.<br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <a name="107"><font size=+1><b>Gtk::Arrow::Arrow</b></font></a> - Creates an arrow.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3AArrow.html#107"><tt><font color=blue><b>Arrow</b></font></tt></a><tt>(<tt><font color=navy>GtkArrowType</font></tt> <tt><font color=blue>arrow_type</font></tt>, <tt><font color=navy>GtkShadowType</font></tt> <tt><font color=blue>shadow_type</font></tt>)</tt>;<br><blockquote> arrow_type: The direction the arrow points. This is one of: <tt><font color=green>GTK_ARROW_UP</font></tt>, <tt><font color=green>GTK_ARROW_DOWN</font></tt>, <tt><font color=green>GTK_ARROW_LEFT</font></tt>, or <tt><font color=green>GTK_ARROW_RIGHT</font></tt>. shadow_type: The style of the arrow. Can be one of: <tt><font color=green>GTK_SHADOW_NONE</font></tt>, <tt><font color=green>GTK_SHADOW_IN</font></tt>, <tt><font color=green>GTK_SHADOW_OUT</font></tt>, <tt><font color=green>GTK_SHADOW_ETCHED_IN</font></tt>, or <tt><font color=green>GTK_SHADOW_ETCHED_OUT</font></tt>.</blockquote> <br><br> <a name="103"><font size=+1><b>Gtk::Arrow::gtkobj</b></font></a> - Returns the underlaying gtk+ object.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkArrow</font></tt>*</tt> <a href="Gtk%3A%3AArrow.html#103"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br> <a name="105"><font size=+1><b>Gtk::Arrow::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%3AArrow.html#105"><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="108"><font size=+1><b>Gtk::Arrow::set</b></font></a> - Changes the direction and shadow of an arrow.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AArrow.html#108"><tt><font color=blue><b>set</b></font></tt></a><tt>(<tt><font color=navy>GtkArrowType</font></tt> <tt><font color=blue>arrow_type</font></tt>, <tt><font color=navy>GtkShadowType</font></tt> <tt><font color=blue>shadow_type</font></tt>)</tt>;<br><br> <hr noshade> </html>