> when i create a combo box in glade 2.6.8, the c code generated uses
> gtk_combo_box_new_text() instead of gtk_combo_box_new(), which is what
> i'd like to have. is there some way to make glade use the latter
> function?
> 
> i didn't give any strings to put into the box in glade.
> p.s.: please no solutions of the type 'use libglade' ;-)

>Unfortunately using libglade is not a solution, as it also instantiates
>the ComboBox this way.  So I suggest just using the resulting object
>and
>clearing out the renderers before using it with
>gtk-cell-layout-clear().

thank you, this helped. i did call the clear function, but only after i
set the model, i guess that was bad.

gyözö

-- 
Everything should be built top-down, except the first time.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to