Next: , Previous: Package_Gtk.Arguments, Up: Top



Package Gtk.Arrow

Gtk_Arrow 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.

Gtk_Arrow will fill any space alloted to it, but since it is inherited from Gtk_Misc, it can be padded and/or aligned, to fill exactly the space you desire.

Arrows are created with a call to Gtk_New. The direction or style of an arrow can be changed after creation by using Set.

Widget Hierarchy
     GObject                       (see Package_Glib.Object)
     Gtk_Object                    (see Package_Gtk.Object)
        \___ Gtk_Widget            (see Package_Gtk.Widget)
           \___ Gtk_Misc           (see Package_Gtk.Misc)
              \___ Gtk_Arrow       (see Package_Gtk.Arrow)
     

Subprograms
procedure Gtk_New (Arrow : out Gtk_Arrow; Arrow_Type : Gtk.Enums.Gtk_Arrow_Type; Shadow_Type : Gtk.Enums.Gtk_Shadow_Type);
Create a new arrow widget.

function Get_Type return Gtk.Gtk_Type;
Return the internal value associated with a Gtk_Arrow.

procedure Set (Arrow : access Gtk_Arrow_Record; Arrow_Type : Gtk.Enums.Gtk_Arrow_Type; Shadow_Type : Gtk.Enums.Gtk_Shadow_Type);
Set the direction and style of the Arrow.