[Contents] [Back] [Prev] [Up] [Next] [Forward]

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

- Gtk.Arrow Widget Hierarchy
- Gtk.Arrow Subprograms

## Widget Hierarchy

    Gtk_Object                    (see section Package Gtk.Object)
       \___ Gtk_Widget            (see section Package Gtk.Widget)
          \___ Gtk_Misc           (see section Package Gtk.Misc)
             \___ Gtk_Arrow       (see section Package Gtk.Arrow)

## Subprograms

    procedure Gtk_New
      (Arrow              : out    Gtk_Arrow;
       Arrow_Type         : in     Gtk_Arrow_Type;
       Shadow_Type        : in     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         : in     Gtk_Arrow_Type;
       Shadow_Type        : in     Gtk_Shadow_Type);

| Set the direction and style of the Arrow.

[Contents] [Back] [Prev] [Up] [Next] [Forward]