About all my projects
Gnome::Gtk4::R-Orientable

Gnome::Gtk4::R-Orientable

Description

The Gnome::Gtk4::R-Orientable interface is implemented by all widgets that can be oriented horizontally or vertically.

Gnome::Gtk4::R-Orientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.

CSS nodes

Gnome::Gtk4::Widget types implementing the Gnome::Gtk4::R-Orientable interface will automatically acquire the horizontal or vertical CSS class depending on the value of the orientation property.

Methods

get-orientation

Retrieves the orientation of the $orientable.

method get-orientation (--> GtkOrientation )

Return value; the orientation of the $orientable.

set-orientation

Sets the orientation of the $orientable.

method set-orientation ( GtkOrientation $orientation )
  • $orientation; the orientable’s new orientation.