gtk.orientable_mixin

Module for [Orientable] interface mixin

Templates 2

tmplOrientableT()

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.

Functions
gtk.types.Orientation orientation()

Get orientation property.

Returns

The orientation of the orientable.
void orientation(gtk.types.Orientation propval)

Set orientation property.

Parameters

propvalThe orientation of the orientable.
gtk.types.Orientation getOrientation()

Retrieves the orientation of the orientable.

Returns

the orientation of the orientable.
void setOrientation(gtk.types.Orientation orientation)

Sets the orientation of the orientable.

Parameters

orientationthe orientable’s new orientation.
tmplOrientableGidBuilderT()
Functions
T orientation(gtk.types.Orientation propval)

Set orientation property.

Parameters

propvalThe orientation of the orientable.

Returns

Builder instance for fluent chaining