Gtk2::C...rerAccel(3)

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

✨ 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 : default 0 : 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 : default 0 : 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 (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