Gtk2::C...rerAccel(3)
β¨ Gtk2::CellRendererAccel β the manual page bestie π
okay so this is the page for Gtk2::CellRendererAccel, which is the gtk2-perl wrapper for GtkCellRendererAccel π it lives in the User Contributed Perl Documentation section of your man pages, so like, you're in the right place, bestie, breathe π«Ά
π HIERARCHY
it's giving very "royal family tree", and here's the whole lineage, no cap:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::CellRenderer
+----Gtk2::CellRendererText
+----Gtk2::CellRendererAccel
so CellRendererAccel is a CellRendererText is a CellRenderer is a Gtk2::Object is an InitiallyUnowned is a Glib::Object. ancestral icon behavior, honestly π
π§ METHODS
cellrenderer = Gtk2::CellRendererAccel->new
that's it, that's the whole method list. one (1) constructor, and it hands you back a cellrenderer object. short and sweet, main character energy π
π PROPERTIES
every property here is readable / writable / private / static-nick / static-blurb β like the whole squad of flags, every single time. obsessed.
'accel-key'(Glib::UInt: default0: readable / writable / private / static-nick / static-blurb) β the keyval of the accelerator π'accel-mode'(Gtk2::CellRendererAccelMode: default"gtk": readable / writable / private / static-nick / static-blurb) β the type of accelerators we're doing here πΈ'accel-mods'(Gtk2::Gdk::ModifierType: default empty : readable / writable / private / static-nick / static-blurb) β the modifier mask of the accelerator β¨ (yes the default is literally blank, that's what the original says, don't @ me)'keycode'(Glib::UInt: default0: readable / writable / private / static-nick / static-blurb) β the hardware keycode of the accelerator, like down at the metal π₯
π¦ SIGNALS
two of them, and they are the moment:
accel-clearedβ args: (Gtk2::CellRendererAccel,string) π§Ήaccel-editedβ args: (Gtk2::CellRendererAccel,string,Glib::UInt,Gtk2::Gdk::ModifierType,Glib::UInt) βοΈ
β ENUMS AND FLAGS
enum Gtk2::CellRendererAccelMode
'gtk'/'GTK_CELL_RENDERER_ACCEL_MODE_GTK''other'/'GTK_CELL_RENDERER_ACCEL_MODE_OTHER'
flags Gtk2::Gdk::ModifierType
the whole mask collection, all seventeen of them, iykyk:
'shift-mask'/'GDK_SHIFT_MASK''lock-mask'/'GDK_LOCK_MASK''control-mask'/'GDK_CONTROL_MASK''mod1-mask'/'GDK_MOD1_MASK''mod2-mask'/'GDK_MOD2_MASK''mod3-mask'/'GDK_MOD3_MASK''mod4-mask'/'GDK_MOD4_MASK''mod5-mask'/'GDK_MOD5_MASK''button1-mask'/'GDK_BUTTON1_MASK''button2-mask'/'GDK_BUTTON2_MASK''button3-mask'/'GDK_BUTTON3_MASK''button4-mask'/'GDK_BUTTON4_MASK''button5-mask'/'GDK_BUTTON5_MASK''super-mask'/'GDK_SUPER_MASK''hyper-mask'/'GDK_HYPER_MASK''meta-mask'/'GDK_META_MASK''release-mask'/'GDK_RELEASE_MASK''modifier-mask'/'GDK_MODIFIER_MASK'
π SEE ALSO
go read these too, they're the extended universe fr fr:
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::CellRenderer, Gtk2::CellRendererText
π 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!! π this one came from the gtk2-perl docs, perl v5.42.0, dated 2025-07-25 β so when you're out here slaying with Gtk2::CellRendererAccel(3), you know exactly which era of perl you're living in π
β¨ mwah, go forth and render those accelerators ππ¦
π¦ 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