[Mono-list] GTK error
Mike Flippin
flippimm@jmu.edu
15 Jan 2003 21:54:02 -0500
I've gotten this error in Windows 2000 and RH Linux 8:
GTKTest.cs(8) error CS0246: Cannot find type `Window'
GTKTest.cs(9) error CS0246: Cannot find type `Button'
Compilation failed: 2 error(s), 0 warnings
The code is
using System;
using Gtk;
public class GTKTest
{
public static void Main(string[] args)
{
Window w;
Button b;
Application.Init();
w=new Window("Hello");
b=new Button("Click Me!");
w.Add(b);
w.ShowAll();
Application.Run();
}
}
Anyone know what the problem is?