package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Arrow_Record, Gtk_Arrow);
type Gtk_Arrow_Record is new Gtk_Misc_Record with null record;
type Gtk_Arrow is access all Gtk_Arrow_Record'Class;
Arrow_Type_Property : constant Gtk.Enums.Property_Gtk_Arrow_Type;
Shadow_Type_Property : constant Gtk.Enums.Property_Gtk_Shadow_Type;
procedure Gtk_New
( | Arrow | : out Gtk_Arrow; |
Arrow_Type | : Gtk.Enums.Gtk_Arrow_Type; | |
Shadow_Type | : Gtk.Enums.Gtk_Shadow_Type); |
procedure Initialize
( | Arrow | : not null access Gtk_Arrow_Record'Class; |
Arrow_Type | : Gtk.Enums.Gtk_Arrow_Type; | |
Shadow_Type | : Gtk.Enums.Gtk_Shadow_Type); |
function Gtk_Arrow_New
( | Arrow_Type | : Gtk.Enums.Gtk_Arrow_Type; |
Shadow_Type | : Gtk.Enums.Gtk_Shadow_Type) return Gtk_Arrow; |
function Get_Type return Glib.GType;
procedure Set
( | Arrow | : not null access Gtk_Arrow_Record; |
Arrow_Type | : Gtk.Enums.Gtk_Arrow_Type; | |
Shadow_Type | : Gtk.Enums.Gtk_Shadow_Type); |
function "+"
( | Widget | : access Gtk_Arrow_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Arrow renames Implements_Gtk_Buildable.To_Object; |
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 Gtk.Misc.Gtk_Misc, it can be padded and/or aligned, to fill exactly the space the programmer desires.
Arrows are created with a call to Gtk.Arrow.Gtk_New. The direction or style of an arrow can be changed after creation by using Gtk.Arrow.Set.