Interface

GtkOrientable

Description [src]

interface Gtk.Orientable : GObject.Object

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

GtkOrientable was introduced in GTK+ 2.16.

Prerequisite

In order to implement Orientable, your type must inherit fromGObject.

Instance methods

gtk_orientable_get_orientation

Retrieves the orientation of the orientable.

since: 2.16

gtk_orientable_set_orientation

Sets the orientation of the orientable.

since: 2.16

Properties

Gtk.Orientable:orientation

The orientation of the orientable.

since: 2.16

Interface structure

struct GtkOrientableIface {
  GTypeInterface base_iface;
  
}

No description available.

Interface members
base_iface
GTypeInterface
 

No description available.