Module: Gtk::Orientable

Defined in:


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/#GtkHBox/#GtkVBox or Gtk::Scale/#GtkHScale/#GtkVScale). #GtkOrientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.

Gtk::Orientable was introduced in GTK+ 2.16.

Instance Method Summary collapse

Instance Method Details


Retrieves the orientation of the orientable.


#orientation=(orientation) ⇒ nil

Sets the orientation of the orientable.



  • (nil)