[Gtk-sharp-list] ComboBox is missing
Gilles Fabio
gilles.fabio at gmail.com
Wed Nov 15 10:12:49 EST 2006
Hi Rafael and Fredrik,
Thank you very much! Now, that works fine! :) I go out of my mind... I
knew -pkg:gtk-sharp-2.0... I already used it but I didn't remember. I
have a gold fish brain :'( Anyways! Thanks!
Cheers,
Gilles
> 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 (1.1.13.8). 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 :)
--
Gilles Fabio aka "Play"
Weblog : http://gilles.fabio.free.fr/blog
OpenPGP : 320F31F8 (pgp.mit.edu)
Sent from : SUSE Linux Enterprise Desktop 10
More information about the Gtk-sharp-list
mailing list