|GTK+ Reference Manual|
|Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Style Properties|
#include <gtk/gtk.h> GtkArrow; GtkWidget* gtk_arrow_new (
GtkShadowType shadow_type); void gtk_arrow_set (
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkMisc +----GtkArrow
GtkArrow implements AtkImplementorIface and GtkBuildable.
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.
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.
typedef struct _GtkArrow GtkArrow;
The GtkArrow struct containes the following fields. (These fields should be considered read-only. They should never be set by an application.)
GtkWidget* gtk_arrow_new (
Creates a new arrow widget.
"arrow-type" GtkArrowType : Read / Write
The direction the arrow should point.
Default value: GTK_ARROW_RIGHT
"shadow-type" GtkShadowType : Read / Write
Appearance of the shadow surrounding the arrow.
Default value: GTK_SHADOW_OUT
"arrow-scaling" gfloat : Read
Amount of space used up by arrow.
Allowed values: [0,1]
Default value: 0.7
the function used internally to paint the arrow.