Re: glade and combo boxes



On Sun, Aug 21, 2005 at 04:15:28PM +0200, Gy?z? Both wrote:

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().

http://developer.gnome.org/doc/API/2.0/gtk/GtkCellLayout.html

Dave Cook



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]