[Mono-list] Re: [Gtk-sharp-list] nplot + gtk#?

Ben Maurer bmaurer@ximian.com
Mon, 07 Feb 2005 21:18:33 -0500


On Tue, 2005-02-08 at 10:04 +0800, Mark Gallop wrote:
> Ben Maurer wrote:
> 
> >On Mon, 2005-02-07 at 15:53 +0800, Mark Gallop wrote:
> >  
> >
> >
> >Try using the Gtk.DotNet stuff that is in HEAD now (you can c&p the
> >code, if you don't want head).
> >  
> >
> Hello
> 
> Thanks for the advice. As a test I tried to compile/run:
> 
> http://svn.myrealbox.com/viewcvs/trunk/gtk-sharp/sample/DrawingSample.cs?view=markup
> http://svn.myrealbox.com/viewcvs/trunk/gtk-sharp/gtkdotnet/Graphics.cs?view=markup
> 
> with mono 1.1.3 and windows. It compiles but when I run it I get the error:

It won't work with Windows, as is. But maybe you can do some magic with
p/invoke to do something similar as with the X hackery in that file.

-- Ben