gtk.orientable
Module for Orientable interface
Types 2
interfaceOrientable
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.
Methods
gtk.types.Orientation orientation() @propertyGet `orientation` property. Returns: The orientation of the orientable.void orientation(gtk.types.Orientation propval) @propertySet `orientation` property. Params: propval = The orientation of the orientable.gtk.types.Orientation getOrientation()Retrieves the orientation of the orientable. Returns: the orientation of the orientablevoid setOrientation(gtk.types.Orientation orientation)Sets the orientation of the orientable.interfaceOrientableGidBuilderImpl(T)
Fluent builder implementation template for gtk.orientable.Orientable
Methods
T orientation(gtk.types.Orientation propval)Set `orientation` property. Params: propval = The orientation of the orientable. Returns: Builder instance for fluent chaining