About my projects, examples and tutorials
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 )
Code

Return value; the orientation of the $orientable.

set-orientation§

Sets the orientation of the $orientable.

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