Hello. Happy New Year!

I create next example for test :

cbActor.Clear();
ListStore store = new ListStore(typeof(int),typeof(string));
store.AppendValues(0,"All");
store.AppendValues(0,"Eugene");
cbActor.Model = store;
CelRendererText textRend = new CelRendererText();
cbActor.PackStart(textRend,true);
cbActor.AddAttribute(textRend,"text",1);

After test Gtk.ComboBox with ListStore I have next results :

I have items on combo but if i change any item i no have result, only message in my monodevelop console :

get-crirical gtk_entry_set_text : assertion 'text != null' fail

for solve i write cbActor.Changed handler and manually set cbActor.Entry.Text property. All good, but my cbActor.Active property always have -1 after.

Aditional imformation : My os Suse 9.3. I use mono1.1.10.1 from installer and KDE desctop.

May be if I use mono1.1.12 of Gnome I should have other results ?

Thanks.


_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to