Gtk2::C...rerCombo(3)

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

πŸ’– Gtk2::CellRendererCombo πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's literally just a little wrapper β€” no cap. Gtk2::CellRendererCombo is the Perl-side wrapper for GtkCellRendererCombo, and she's giving "combo box but make it a cell renderer" energy. πŸŽ€


🌈 HIERARCHY 🌈

the family tree, and yes she comes from a long line of iconic ancestors:

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::CellRenderer
               +----Gtk2::CellRendererText
                    +----Gtk2::CellRendererCombo

so she's a CellRendererText who learned a new trick. generational talent fr fr. πŸ‘‘


✨ METHODS ✨

  • cellrenderer = Gtk2::CellRendererCombo->new β€” that's it, that's the whole method list. call new on the class and you get yourself a shiny new cellrenderer object. one method, zero notes, slay. πŸ’…

πŸ¦‹ PROPERTIES πŸ¦‹

three of them, and every single one is readable / writable / private / static-nick / static-blurb. yes bestie, all five vibes at once, for all three. don't ask, it's just how she is.

  • 'has-entry' (boolean : default true : readable / writable / private / static-nick / static-blurb) β€” if you set this to FALSE, you're not allowed to type in strings that aren't one of the chosen ones. so like, locked in. πŸ”’
  • 'model' (Gtk2::TreeModel : default undef : readable / writable / private / static-nick / static-blurb) β€” the model holding all the possible values your combo box can offer up. the menu, the options, the whole buffet. πŸ“
  • 'text-column' (integer : default -1 : readable / writable / private / static-nick / static-blurb) β€” which column in the data source model the strings get pulled from. point her at the right column, bestie. ✨

πŸ”₯ SIGNALS πŸ”₯

  • changed β€” signature is (Gtk2::CellRendererCombo, string, Gtk2::TreeIter). so when she changes, she hands you back herself, a string, and a Gtk2::TreeIter. main character behavior tbh.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, go say hi:

  • 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.


ngl, this doc was built with perl v5.42.0, dated 2025-07-25 β€” and it's from the Gtk2::C...rerCombo(3) page (yeah the header truncates it, it's Gtk2::CellRendererCombo, iykyk 😭). that's the whole thing, bestie, you're so welcome, go render some cells πŸ«ΆπŸ’–
πŸ“¦ where this page comes from