Re: Bad documentation for Combo Box
- From: Peter Bloomfield <peterbloomfield bellsouth net>
- To: gtk-app-devel-list gnome org
- Subject: Re: Bad documentation for Combo Box
- Date: Wed, 19 Jan 2005 04:05:39 +0000
On 01/18/2005 10:00:17 PM, Fabricio Rocha wrote:
Bug in documentation? Looks like sort of. I found out that the
GTK2 Tutorial explains a way of using combo boxes which are not
the same to which the GTK 2 Reference refers to. It is
"GtkCombo" against "GtkComboBox". I have also noted that in
Glade the old combobox is not even listed, at least not with
that name (in the Obsolete palette, there is something called
OptionMenu).
In fact, what I needed was a rather simple, "read-only" combo
box. Something like... it would load a list of strings before
being shown, and afterwards the selected value/string could be
retrieved. Is there a simple way to get that? Sorry if that
offends someone, but for me it seems that all this new stuff
about iters, models, cell renderer etc. are a good concept
which are implemented in a very very complicated way...
See
http://developer.gnome.org/doc/API/2.0/gtk/gtk-migrating-GtkComboBox.html
-- the gtk_combo_box_text_ ``convenience'' methods should do just
about what you want.
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]