Gtk2::Spinner(3)
π« Gtk2::Spinner β the manual page, but make it cute π«
okay bestie, so this is Gtk2::Spinner(3), straight out of the User Contributed Perl Documentation, and it's literally the Perl wrapper for GtkSpinner. That's it. That's the whole NAME vibe. She's little, she's round, she spins, we're obsessed. πβ¨
πΈ HIERARCHY πΈ
the family tree is giving royalty, no cap. here's exactly who begat whom:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::DrawingArea
+----Gtk2::Spinner
so yeah, she's a DrawingArea at heart. main character energy all the way down. π
π¦ INTERFACES π¦
she also shows up to these two parties:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
accessibility? iconic. buildable? iconic. π
β¨ METHODS β¨
π widget = Gtk2::Spinner->new
bestie, you make a brand new spinner. that's the whole thing. fresh spinner, zero notes. π«Ά
π $spinner->start
okay so you call this and she starts spinning. the vibes? immaculate. the motion? perpetual. go off. π₯
π $spinner->stop
and when you've had enough of the spinning era, this one stops her. she will simply cease. periodt.
π PROPERTIES π
'active'(boolean: defaultfalse: readable / writable) β is the spinner doing her little spin or not. that's literally the whole question.falseby default, so she's lowkey just standing there until you say otherwise. π
π STYLE PROPERTIES π
these are the aesthetic knobs. the glow-up controls. π¨
'cycle-duration'(Glib::UInt: default1000: readable) β how long, in milliseconds, it takes for the spinner to complete one full loop. one thousand whole millis by default, iykyk. β±οΈ'num-steps'(Glib::UInt: default12: readable) β how many steps the spinner takes to complete a full loop. and heads up: by default the animation completes a full cycle in one second (peep#GtkSpinner:cycle-durationfor that whole situation). twelve lil steps, twelve lil moments. π§
π SEE ALSO π
go read these too, they're all in the group chat:
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::DrawingArea
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
ngl the LGPL is doing the lord's work here. respect the elders. π«‘
and that's the whole page, bestie!! π this one shipped with perl v5.42.0, dated 2025-07-25, and it lives in your friendly neighbourhood Gtk2::Spinner(3). now go make something spin. βππ
π¦ 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