OrientableIF

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.

Members

Functions

getOrientableStruct
GtkOrientable* getOrientableStruct(bool transferOwnership = false)

Get the main Gtk struct

getOrientation
GtkOrientation getOrientation()

Retrieves the orientation of the orientable.

getStruct
void* getStruct()

the main Gtk struct as a void*

setOrientation
void setOrientation(GtkOrientation orientation)

Sets the orientation of the orientable.

Static functions

getType
GType getType()