Gtk2::Orientable(3)
β¨ NAME β¨
Gtk2::Orientable β bestie, it's the interface for flippable widgets π like literally widgets that can go this way or that way and you get to pick, no cap.
π¦ HIERARCHY π¦
okay so the family tree is giving very much:
Glib::Interface
+----Gtk2::Orientable
so it's an interface sitting under Glib::Interface, and Gtk2::Orientable is its main character descendant β¨
πΈ METHODS πΈ
orientation = $orientable->get_orientation
getter era π you call it and it hands you back the current orientation. iconic.
$orientable->set_orientation ($orientation)
setter era π you pass in the orientation you want and it just... does that. slay.
$orientation(Gtk2::Orientation) β yeah that's the one and only arg, and it's gotta be aGtk2::Orientationvalue, periodt.
π PROPERTIES π
'orientation'(Gtk2::Orientation: default"horizontal": readable / writable / private / static-nick / static-blurb) β this is the orientation of the orientable, the whole point of the whole thing tbh. it's readable AND writable, it's private, it's got a static-nick and a static-blurb, and if you don't say anything it defaults to"horizontal"π«Ά
π ENUMS AND FLAGS π
enum Gtk2::Orientation
the two vibes you can pick from, and that's it, there is no third option bestie:
'horizontal'/GTK_ORIENTATION_HORIZONTALβ side to side, left to right, the classic π«'vertical'/GTK_ORIENTATION_VERTICALβ up and down, top to bottom, also iconic π«
π SEE ALSO π
go read these next, i'm obsessed:
Gtk2Glib::Interface
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
and that's the whole page bestie, tysm for reading, mwah πβ¨
this was brought to you by perl v5.42.0, dated 2025-07-25, and the manual Gtk2::Orientable(3) β k bye, go flip some widgets π¦π
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms