package Implements_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 | : access Gtk_Arrow_Record'Class; |
Arrow_Type | : Gtk.Enums.Gtk_Arrow_Type; | |
Shadow_Type | : Gtk.Enums.Gtk_Shadow_Type); |
function Get_Type return Glib.GType;
procedure Set
( | Arrow | : 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_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Arrow renames Implements_Buildable.To_Object; |
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.