Re: glade and combo boxes
- From: Gyözö Both <gyboth bygfoot com>
- To: gtk-app-devel-list gnome org
- Subject: Re: glade and combo boxes
- Date: Wed, 24 Aug 2005 15:54:58 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]