I'm using Glade to create and place a Gtk2::ComboBoxEntry. $color_centry1= $builder->get_object('comboboxentry1');
my $model3 = new Gtk2::ListStore('Glib::String'); $color_centry1->clear(); my $renderer3 = new Gtk2::CellRendererText; $color_centry1->pack_start($renderer3, FALSE); $color_centry1->set_attributes($renderer3, text => 0); $color_centry1->set_model($model3); my @listing_centry1 = qw/red blue purple yellow black/; foreach $text (@listing_centry1) { $color_centry1->append_text ($text) } $color_centry1->set_text_column (0); # this line is generating the error message $color_centry1->set_active(0); The problem is that I'm getting the following error message: Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_RENDERER (cell)' failed How can I fix this? Found a similar thread in a gtk-C# mailing list (no solution provided): http://lists.ximian.com/pipermail/gtk-sharp-list/2006-September/007397.html _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list