Module: Gtk::Orientable
- Defined in:
- (unknown)
Overview
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
-
#orientation ⇒ Gtk::Orientation
Retrieves the orientation of the orientable.
-
#orientation=(orientation) ⇒ nil
Sets the orientation of the orientable.
Instance Method Details
#orientation ⇒ Gtk::Orientation
Retrieves the orientation of the orientable.
#orientation=(orientation) ⇒ nil
Sets the orientation of the orientable.