[Gtk-sharp-list] Problems mono gtk-sharp
Mon, 26 Jan 2004 15:09:31 -0500
If we could see a code example, that might help.
However, judging by your errors, I would suspect that you are missing a
Try including the line 'using GtkSharp;' at the top of your code.
As for the Application.Quit error, it looks as if you are calling
Application.Quit without the parenthesis necessary for a void function
call. But, without source code it is difficult to tell.
Mauricio Rojas wrote:
>mcs /home/mrojas/mono/src/HelloWorld.cs -r gtk-sharp
>/home/mrojas/mono/src/HelloWorld.cs(17) error CS0246: Cannot find type
>/home/mrojas/mono/src/HelloWorld.cs(14) error CS0161: Not all code paths
>return a value
>/home/mrojas/mono/src/HelloWorld.cs(26) error CS0103: The name
>`Application.Quit' could not be found in `GtkSamples.HelloWorld'
>Compilation failed: 3 error(s), 0 warnings
>Unhandled Exception: System.NullReferenceException: A null value was found
>where an object instance was required
>Gtk-sharp-list maillist - Gtkemail@example.com