Gtk2::C...rerCombo(3)
π 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. callnewon the class and you get yourself a shiny newcellrendererobject. 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 : defaulttrue: readable / writable / private / static-nick / static-blurb) β if you set this toFALSE, you're not allowed to type in strings that aren't one of the chosen ones. so like, locked in. π'model'(Gtk2::TreeModel : defaultundef: 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, astring, and aGtk2::TreeIter. main character behavior tbh.
π SEE ALSO π
the whole friend group, go say hi:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::CellRendererGtk2::CellRendererText
π COPYRIGHT π
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 withperl v5.42.0, dated2025-07-25β and it's from theGtk2::C...rerCombo(3)page (yeah the header truncates it, it'sGtk2::CellRendererCombo, iykyk π). that's the whole thing, bestie, you're so welcome, go render some cells π«Άπ
π¦ 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