gtk# with mono
Amadeus W. M.
amadeus84 at verizon.net
Mon Feb 12 02:43:35 UTC 2007
I'm trying to compile my first gtk# project with mono, so I open
monodevelop, File -> New Project -> C# then I click on the Gtk# 2.0
template. This is the code:
// project created on 02/11/2007 at 21:33
using System;
using Gtk;
namespace gtksharp
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new MainWindow ();
win.Show ();
Application.Run ();
}
}
}
When I compile it, it says it can't find the Gtk namespace. I have (among
many other gtk packages)
gtk-sharp2-gapi-2.10.0-3.fc6
gtk-sharp2-2.10.0-3.fc6
which I got when I installed monodevelop. I'm not sure if I'm missing
something or if this is a bug. Could someone who actually uses mono and
gtk# shed some light?
Thanks!
More information about the users
mailing list