Gtk2::G...ionIter(3)
π NAME π
okay so bestie, gather round β this is Gtk2::Gdk::PixbufAnimationIter, which is literally just a wrapper for GdkPixbufAnimationIter. that's it. that's the whole job. it's the little iterator dude who hands you frames of an animated pixbuf one at a time, and perl just wraps him up all pretty so you can talk to him. π¦
π HIERARCHY π
the family tree, and yes it's giving noble lineage:
Glib::Object
+----Gtk2::Gdk::PixbufAnimationIter
so like, Glib::Object is the parent, and this class is the child that went off to art school. iconic behavior honestly. π
β¨ METHODS β¨
π boolean = $iter->advance ($current_time_seconds=0, $current_time_microseconds=0)
this is the "bestie, move it along" method. you call it and it tells you whether things actually moved (a boolean, so true/false vibes). both args are optional and both default to 0, so you can just yell advance at it with no args and it'll cope. π
$current_time_secondsβ an integer, the seconds part of the time you're passing in. β±οΈ$current_time_microsecondsβ also an integer, the microseconds part. yes we're being precise, we're being extra, we're being micro. π«Ά
π₯ integer = $iter->get_delay_time
hands you back an integer telling you how long to wait before you come back for more. patience is a virtue but also it's a number now. π
πΈ boolean = $iter->on_currently_loading_frame
returns a boolean answering the deeply philosophical question: "are we, like, on the frame that is currently loading rn?" peak main character energy. the frame is loading. you are on it. π
β pixbuf = $iter->get_pixbuf
gives you the actual pixbuf. the goods. the frame itself. this is the payoff, bestie, this is what we came for. π
π SEE ALSO π
go bother these two if you need the bigger picture:
Gtk2Glib::Object
π 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, no cap. this was perl v5.42.0, dated 2025-07-25, from the User Contributed Perl Documentation collection β so yeah, a real one, archived in the vaults of perldoc forever. go forth and iterate, queen. π§β¨
π¦ 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