[Gtk-sharp-list] Re: Gtk.ComboBox functionality

Evgeny Pirogov pirogov.e at gmail.com
Thu Jan 5 03:54:03 EST 2006


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060105/a08fda8d/attachment.html


More information about the Gtk-sharp-list mailing list