type Gtk_Orientable is new Glib.Types.GType_Interface;
Null_Gtk_Orientable : constant Gtk_Orientable;
Orientation_Property : constant Gtk.Enums.Property_Gtk_Orientation;
function Get_Type return Glib.GType;
function Get_Orientation
( | Self | : Gtk_Orientable) return Gtk.Enums.Gtk_Orientation; |
procedure Set_Orientation
( | Self | : Gtk_Orientable; |
Orientation | : Gtk.Enums.Gtk_Orientation); |
function "+"
( | W | : Gtk_Orientable) return Gtk_Orientable; |
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.