Gtk2::C...rogress(3)
π NAME π
okay bestie, gather round, because today we're talking about Gtk2::CellRendererProgress β it's literally just a wrapper for GtkCellRendererProgress, no cap π
πΈ HIERARCHY πΈ
the family tree, and yes she has main character energy all the way down:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::CellRenderer
+----Gtk2::CellRendererProgress
β¨ METHODS β¨
π¦ cellrenderer = Gtk2::CellRendererProgress->new
the one (1) method, and she ate π
make a fresh new Gtk2::CellRendererProgress, that's it, that's the whole vibe.
π PROPERTIES π
every single one of these is readable / writable / private / static-nick / static-blurb β yes ALL of them, the whole squad is the same flavor π
'orientation'(Gtk2::ProgressBarOrientation: default"left-to-right") β which way the bar points and which way it grows, like the bar's whole personality direction π'pulse'(integer : default-1) β set this to positive values when you know something's happening but you have literally zero clue how much, so the bar just vibes and pulses instead π'text'(string : defaultundef) β the text sitting on top of the progress bar, her little caption π'text-xalign'(float : default0.5) β horizontal text alignment, from0(left) to1(right). heads up bestie: it gets reversed for RTL layouts π'text-yalign'(float : default0.5) β vertical text alignment, from0(top) to1(bottom), so she can sit high or low β'value'(integer : default0) β the actual value of the progress bar, the number that does the thing π₯
π ENUMS AND FLAGS π
enum Gtk2::ProgressBarOrientation
the four directions, pick your fighter:
'left-to-right'/GTK_PROGRESS_LEFT_TO_RIGHT'right-to-left'/GTK_PROGRESS_RIGHT_TO_LEFT'bottom-to-top'/GTK_PROGRESS_BOTTOM_TO_TOP'top-to-bottom'/GTK_PROGRESS_TOP_TO_BOTTOM
π SEE ALSO π
go read these next, they're the group chat:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::CellRenderer
π«Ά 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, you're so welcome πβ¨
this was brought to you by perl v5.42.0, dated 2025-07-25, from the Gtk2::C...rogress(3) page in the User Contributed Perl Documentation β slay, mwah π
π
π¦ 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