[Gtk-sharp-list] Gtk.ComboBox?

Francis Brosnan Blazquez francis@aspl.es
Fri, 07 Jan 2005 10:46:32 +0100


El s=E1b, 18-12-2004 a las 15:11 +0100, Viktor Stansvik escribi=F3:
> Hi,
> I was just wondering whether any work on implementing Gtk.ComboBox is
> being done? I would do it myself if I had the skills, but I don't think
> that I have. It's quite a critical widget I think.
>=20

Hi Viktor,

ComboBox widget is implemented in both mono series: 1.0.x stable, and
1.1.x testing. But, both implementation differs.

ComboBox widget is one of those widgets who have change its interface
from gtk-2.2 to gtk-2.4. However, gtk-2.4 interface also support 2.2 but
not in the other way.

You'll find gtk-sharp examples that the combo is filled up by using a
"combo.PopdownString" interface and other examples, using the new
method, which fill up the combo by using a View-Model fashion.

The issue is that mono stable series (1.0.x) uses gtk-2.2 so, gtk-sharp
interface must comply the PopDownString interface in order to make your
code compatible with all mono stable supported platforms.=20

If you are not planing to use the mono stable series, you can use the
new Combo interface which is bundle with the testing 1.1 mono series.

.-Francis

> Thanks,
> -- viktor
>=20
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>=20
>=20
--=20
Francis Brosnan Blazquez <francis@aspl.es>