Gtk2::Arrow(3)
β¨ Gtk2::Arrow β¨
okay bestie, buckle up, we're looking at Gtk2::Arrow β it's the wrapper for GtkArrow in the Gtk2 Perl bindings, documented over in the User Contributed Perl Documentation section of your man pages (yes, the <code>Gtk2::Arrow(3)</code> one, you found it π).
It's a whole little arrow widget. A pointy little guy. That's it. That's the vibe. π
π HIERARCHY π
here's the family tree, and yes we're doing a whole ancestry moment, the arrow has main character energy but it is deep in the bloodline:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Misc
+----Gtk2::Arrow
six generations of widgets just for one arrow. iconic honestly. π
π¦ INTERFACES π¦
the extra little certifications it picked up along the way:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
π METHODS π
widget = Gtk2::Arrow->new ($arrow_type, $shadow_type)
not me making a whole new arrow, slay. you hand it two things:
$arrow_type(a Gtk2::ArrowType) β which way it points$shadow_type(a Gtk2::ShadowType) β how the shadow around it looks
$arrow->set ($arrow_type, $shadow_type)
setting the vibes after the fact, no cap. takes:
$arrow_type(a Gtk2::ArrowType)$shadow_type(a Gtk2::ShadowType)
π PROPERTIES π
'arrow-type'(Gtk2::ArrowType: default"right": readable / writable / private / static-nick / static-blurb) β literally just which direction the arrow should point. that's the whole job.'shadow-type'(Gtk2::ShadowType: default"out": readable / writable / private / static-nick / static-blurb) β how the shadow surrounding the arrow looks. the ~lewk~ of it.
β STYLE PROPERTIES β
'arrow-scaling'(float: default0.7: readable / private / static-nick / static-blurb) β amount of space used up by the arrow. that's a float, bestie, so it can be a lil fractional.0.7is the factory setting. π
πΈ ENUMS AND FLAGS πΈ
enum Gtk2::ArrowType
the five directions your arrow can commit to:
'up'/GTK_ARROW_UP'down'/GTK_ARROW_DOWN'left'/GTK_ARROW_LEFT'right'/GTK_ARROW_RIGHT'none'/GTK_ARROW_NONE
enum Gtk2::ShadowType
the five shadow fits:
'none'/GTK_SHADOW_NONE'in'/GTK_SHADOW_IN'out'/GTK_SHADOW_OUT'etched-in'/GTK_SHADOW_ETCHED_IN'etched-out'/GTK_SHADOW_ETCHED_OUT
π SEE ALSO π
go read these next, fr fr:
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Misc
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
okay that's the whole page bestie, you ate that π«Ά this was served up by perl v5.42.0, dated 2025-07-25, and it lives at Gtk2::Arrow(3) if you ever need to find it again. bye bestie, go point at things π β¨
π¦ 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