gtk.orientable_mixin
Module for Orientable interface mixin
Templates 2
tmplOrientableT()
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.
Functions
gtk.types.Orientation orientation()
Get orientation property.
Returns
The orientation of the orientable.
void orientation(gtk.types.Orientation propval)
Set orientation property.
Parameters
propval | The 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
orientation | the orientable’s new orientation |
tmplOrientableGidBuilderT()
Fluent builder implementation template for gtk.orientable.Orientable
Functions
T orientation(gtk.types.Orientation propval)
Set orientation property.
Parameters
propval | The orientation of the orientable. |
Returns
Builder instance for fluent chaining