type Gtk_Orientable is new Glib.Types.GType_Interface;
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); |
The 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_HBox/Gtk_VBox or Gtk_Scale/Gtk_HScale/Gtk_VScale).
Gtk_Orientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to 'flip'.