[Gtk-sharp-list] ComboBox is missing

Rafael Teixeira monoman at gmail.com
Mon Nov 13 11:45:07 EST 2006

Hi Gilles,

Well the documentation (monodoc) states that it is available only on
GTK# 2.4 and up, so you need to reference the gtk-sharp-2.0 package.

mcs ... -pkg:gtk-sharp-2.0 ...

Hope it helps,

PS. to the list: We should document somewhere what package should be
referenced for a given set of API versions, as it really isn't easy
for newcomers, to find the historical reasons for the current 2
packages for GTK#, and where the (moving) version borders are.

On 11/13/06, Gilles Fabio <gilles.fabio at gmail.com> wrote:
> Hello everyone,
> I'm using SLED 10 with the default Mono platform ( I have a
> problem using the ComboBox widget. When I try to compile my application
> (with -pkg:gtk-sharp), I encounter this error:
> "The type or namespace name `ComboBox' could not be found. Are you
> missing a using directive or an assembly reference?"
> I tested with this sample:
> http://www.go-mono.com/docs/index.aspx?tlink=5@ecma%3a771%23ComboBox%2f
> And same problem :( gtk-sharp is installed and works fine. I just have a
> problem with the ComboBox widget which seems missing. So, really odd. As
> I'm going crazy, I post a message on this mailing list. If someone has
> an idea to solve this problem, that would be great :)
> Regards,
> Gilles
> --
> Gilles Fabio aka "Play"
> Weblog    : http://gilles.fabio.free.fr/blog
> OpenPGP   : 320F31F8 (pgp.mit.edu)
> Sent from : SUSE Linux Enterprise Desktop 10
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Rafael "Monoman" Teixeira
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw

More information about the Gtk-sharp-list mailing list