gtk# with mono

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux