## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Orientable

- Goto spec source

# Description

    package Gtk.Orientable is

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'.

# Types

### Gtk_Orientable

- Goto declaration in source

    type Gtk_Orientable is new Glib.Types.GType_Interface;

# Constants & Global variables

### Orientation_Property

- Goto declaration in source

(Gtk.Enums.Property_Gtk_Orientation)

    Orientation_Property : constant Gtk.Enums.Property_Gtk_Orientation;

# Subprograms & Entries

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Glib.GType;

### Get_Orientation

- Goto spec in source

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

### Set_Orientation

- Goto spec in source

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

Sets the orientation of the Orientable. Since: gtk+ 2.16 "orientation": the orientable's new orientation.