Gtk2::C...rSpinner(3)

πŸ“¦
version 1.24993 Β· 2 versions
, in fedora 43

πŸ’« 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 : default false : readable / writable) β€” is the spinner actually active, like, is she being shown in the cell or is she just sitting there existing? default is false, so out of the box she is not showing. you gotta flip that switch yourself bestie.
  • 'pulse' (Glib::UInt : default 0 : readable / writable) β€” the pulse of the spinner. that's the animation beat, the rhythm, the vibe. default is 0.
  • 'size' (Gtk2::IconSize : default "menu" : readable / writable) β€” the GtkIconSize value 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:

  • Gtk2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::CellRenderer

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