[Glade-users] GtkComboBox question.

Tristan Van Berkom tvb at gnome.org
Tue Feb 17 01:46:49 EST 2009


On Mon, Feb 16, 2009 at 4:57 PM, Steve Blackwell <zephod at cfl.rr.com> wrote:
> In this message:
>
> http://lists.ximian.com/pipermail/glade-users/2008-October/004068.html
>
> Carlos Pereira says that "It seems that comboboxes made with glade are
> not created with gtk_combo_box_new_text()"
>
> which means, according to the GTK+ reference manual, means that
> gtk_combo_box_insert_text() won't work.
>
> Is this still the case and if so is there a workaround? I'm using Glade
> 3.4.5 on a Fedora F9.

With libglade; setting the items property to anything will result in a
_new_text()
style combobox, but GtkBuilder & Glade 3.6 (or current dev version 3.5.x)
will let you define the liststore associated to the combo box and define the
cell renderer(s) for your combo box as well.

Cheers,
                   -Tristan


More information about the Glade-users mailing list