The Gtk.Orientable.Gtk_Orientable interface is implemented by all widgets that can be oriented horizontally or vertically. Historically, such widgets have been realized as subclasses of a common base class (e.g Gtk.Box.Gtk_Box/Gtk.Box.Gtk_Hbox/Gtk.Box.Gtk_Vbox or Gtk.Scale.Gtk_Scale/Gtk.Scale.Gtk_Hscale/Gtk.Scale.Gtk_Vscale). Gtk.Orientable.Gtk_Orientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to "flip".
Gtk.Orientable.Gtk_Orientable was introduced in GTK+ 2.16.
function "+" (W : Gtk_Orientable) return Gtk_Orientable
function Get_Orientation
(Self : Gtk_Orientable) return Gtk.Enums.Gtk_Orientation
Retrieves the orientation of the Orientable. Since: gtk+ 2.16
the orientation of the Orientable.
function Get_Type return Glib.GType
type Gtk_Orientable is new Glib.Types.GType_Interface;
Null_Gtk_Orientable : constant Gtk_Orientable;
Orientation_Property : constant Gtk.Enums.Property_Gtk_Orientation;
The orientation of the orientable.
procedure Set_Orientation
(Self : Gtk_Orientable;
Orientation : Gtk.Enums.Gtk_Orientation)
Sets the orientation of the Orientable. Since: gtk+ 2.16
the orientable's new orientation.