1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkArrow
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 20:10:52 +00:00
|
|
|
Displays an arrow
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
GtkArrow should be used to draw simple arrows that need to point in
|
|
|
|
one of the four cardinal directions (up, down, left, or right). The
|
|
|
|
style of the arrow can be one of shadow in, shadow out, etched in, or
|
|
|
|
etched out. Note that these directions and style types may be
|
|
|
|
ammended in versions of Gtk to come.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
GtkArrow will fill any space alloted to it, but since it is inherited
|
|
|
|
from #GtkMisc, it can be padded and/or aligned, to fill exactly the
|
|
|
|
space the programmer desires.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Arrows are created with a call to gtk_arrow_new(). The direction or
|
|
|
|
style of an arrow can be changed after creation by using gtk_arrow_set().
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>gtk_paint_arrow()</term>
|
|
|
|
<listitem><para>the function used internally to paint the arrow.</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### STRUCT GtkArrow ##### -->
|
|
|
|
<para>
|
2006-06-29 09:22:26 +00:00
|
|
|
The #GtkArrow struct containes the following fields.
|
1999-08-16 18:51:52 +00:00
|
|
|
(These fields should be considered read-only. They should never be set by
|
2006-06-29 09:22:26 +00:00
|
|
|
an application.)
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkArrow:arrow-type ##### -->
|
2006-06-29 09:22:26 +00:00
|
|
|
<para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkArrow:shadow-type ##### -->
|
2006-06-29 09:22:26 +00:00
|
|
|
<para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
|
|
|
|
2006-10-10 13:30:55 +00:00
|
|
|
<!-- ##### ARG GtkArrow:arrow-scaling ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_arrow_new ##### -->
|
|
|
|
<para>
|
|
|
|
Creates a new arrow widget.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@arrow_type: a valid #GtkArrowType.
|
|
|
|
@shadow_type: a valid #GtkShadowType.
|
|
|
|
@Returns: the new #GtkArrow widget.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_arrow_set ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the direction and style of the #GtkArrow, @arrow.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@arrow: a widget of type #GtkArrow.
|
|
|
|
@arrow_type: a valid #GtkArrowType.
|
|
|
|
@shadow_type: a valid #GtkShadowType.
|
|
|
|
|
|
|
|
|