Orientable

The gtk.orientable.Orientable interface is implemented by all widgets that can be oriented horizontally or vertically.

gtk.orientable.Orientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.

CSS nodes

gtk.widget.Widget types implementing the gtk.orientable.Orientable interface will automatically acquire the horizontal or vertical CSS class depending on the value of the gtk.orientable.Orientable.Orientation property.

Members

Functions

getOrientation
gtk.types.Orientation getOrientation()

Retrieves the orientation of the orientable.

setOrientation
void setOrientation(gtk.types.Orientation orientation)

Sets the orientation of the orientable.