Gtk.Orientable

Entities

Simple Types

Constants

Subprograms

Description

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
Parameters
W
Return Value

Get_Orientation

function Get_Orientation
   (Self : Gtk_Orientable) return Gtk.Enums.Gtk_Orientation

Retrieves the orientation of the Orientable. Since: gtk+ 2.16

Parameters
Self
Return Value

the orientation of the Orientable.

Get_Type

function Get_Type return Glib.GType
Return Value

Gtk_Orientable

type Gtk_Orientable is new Glib.Types.GType_Interface;

Null_Gtk_Orientable

Null_Gtk_Orientable : constant Gtk_Orientable;

Orientation_Property

Orientation_Property : constant Gtk.Enums.Property_Gtk_Orientation;

The orientation of the orientable.

Set_Orientation

procedure Set_Orientation
   (Self        : Gtk_Orientable;
    Orientation : Gtk.Enums.Gtk_Orientation)

Sets the orientation of the Orientable. Since: gtk+ 2.16

Parameters
Self
Orientation

the orientable's new orientation.