[Gtk-sharp-list] Re: Glade event handler mono+linux vs.
win32+.NET
John Luke
jluke@users.sourceforge.net
Fri, 07 May 2004 13:31:22 -0400
On Fri, 2004-05-07 at 10:21 -0700, John D. Hardin wrote:
> On Fri, 7 May 2004, John Luke wrote:
>
> > > What was I doing wrong?
> > >
> > > I tried renaming as Norbert suggested and it did not help.
> >
> > From what you originally posted it should work, since it doesn't I
> > suspect there is some other error and you are getting a misleading
> > error message.
>
> Oh, goody.
>
> > I would check all the signals in the file and make
> > sure there is no typos between the .glade and .cs.
>
> There don't appear to be. I have a grand total of three signals...
>
> > If you can't figure it out maybe you can post the entire glade
> > file and .cs file here. Assuming they are not very big.
>
> It's not big at all. It's a "prime numbers" C# class exercise. I was
> trying to out-cool everybody else in the class and do it
> cross-platform. :)
>
> It's posted here:
>
> http://www.impsec.org/~jhardin/primes_cs.tar.gz
>
Runs fine here. Compiled as:
mcs primes.cs primes_ui_gtk.cs /resource:primes_ui_gtk.glade -r
gtk-sharp -r glade-sharp