Hello again,
I'm currently facing a problem (or maybe I'm to blind to see my error).
I try to fill a GtkComboBox (with the "Text" Version, everything works,
but I'd like to use the part with the seperate model) with the following
code:
---snipp--
listModel := GTK.GtkListStore new: 1 varargs: {GTK.GValue gTypeString}.
iterator := GTK.GtkTreeIter new.
listModel append: iterator;
setOop: iterator column: 0 value: 'One'.
iterator := GTK.GtkTreeIter new.
listModel append: iterator;
setOop: iterator column: 0 value: 'Two'.
iterator := GTK.GtkTreeIter new.
listModel append: iterator;
setOop: iterator column: 0 value: 'Three'.
combobox := GTK.GtkComboBoxEntry new.
combobox setModel: listModel;
setActive: 1.
---snipp---
And I see, that the ComboBox contains 3 entries (through the space,
which is used if the ComboBox is opened) But all entries are empty.
Maybe you can point me to my mistake?
Thanks in advance,
Joachim.
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk