Gtk2::C...rSpinner(3)
π« Gtk2::CellRendererSpinner β bestie's guide π«
okay so picture this: you're deep in Gtk2 land, you want a little spinner spinning inside a cell, and you go "wait, is there a renderer for that??" and yes babes there IS, and this is her. This page lives in the User Contributed Perl Documentation corner of the manual, section 3, and she is literally just a wrapper for GtkCellRendererSpinner. no cap.
β¨ NAME β¨
Gtk2::CellRendererSpinner β she's the Perl wrapper for GtkCellRendererSpinner. that's it, that's the whole job, and she does it beautifully π
πΈ HIERARCHY πΈ
the family tree!! she is NOT a root-level girlie, she comes from a long line of iconiques:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::CellRenderer
+----Gtk2::CellRendererSpinner
so she's a Glib::Object, which means Glib::InitiallyUnowned, which means Gtk2::Object, which means Gtk2::CellRenderer, which means her. generational excellence fr fr π
π οΈ METHODS π οΈ
π cellrenderer = Gtk2::CellRendererSpinner->new
boom. that's the constructor. you call new, you get a cellrenderer back, and now you have a spinner renderer to play with. she's brand new, she's fresh, she's ready. π
ποΈ PROPERTIES ποΈ
three of them. all readable AND writable, so you can peek at them and also boss them around. periodt.
'active'(boolean : defaultfalse: readable / writable) β is the spinner actually active, like, is she being shown in the cell or is she just sitting there existing? default isfalse, so out of the box she is not showing. you gotta flip that switch yourself bestie.'pulse'(Glib::UInt : default0: readable / writable) β the pulse of the spinner. that's the animation beat, the rhythm, the vibe. default is0.'size'(Gtk2::IconSize : default"menu": readable / writable) β theGtkIconSizevalue that says how big the rendered spinner is gonna be. default is"menu". she comes pre-sized, cute.
π© ENUMS AND FLAGS π©
enum Gtk2::IconSize
the size menu, the whole buffet, and you get to pick. every option with her Perl name and her C name, both, because we love bilingual queens:
'invalid'/GTK_ICON_SIZE_INVALID'menu'/GTK_ICON_SIZE_MENU'small-toolbar'/GTK_ICON_SIZE_SMALL_TOOLBAR'large-toolbar'/GTK_ICON_SIZE_LARGE_TOOLBAR'button'/GTK_ICON_SIZE_BUTTON'dnd'/GTK_ICON_SIZE_DND'dialog'/GTK_ICON_SIZE_DIALOG
seven of them, all accounted for, none skipped, we do not gatekeep here π
π SEE ALSO π
go read these too, they're her people, her lore, her extended universe:
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. (yes, actually go look at Gtk2, the full notice lives there, this page is just pointing you at it π«Ά)
aaaand that's the whole page!! no crumbs left, every flag, every default, every enum, every reference, all of it π
this was generated by perl v5.42.0, dated 2025-07-25, from the Gtk2::CellRendererSpinner(3) page in the User Contributed Perl Documentation. mwah, go build something cute with her πβ¨π¦
π¦ 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