* Gtk# Gtk# (Gtk sharp) is a set of C# language bindings for the Gtk+ toolkit and other libraries that are part of the GNOME platform . ** API of Gtk# The API is browsable here ** Where to learn more. Visit the official site for the Gtk# Project. The Mono FAQ has some useful information too. ** GTK# On Linux
Where to get distributions of GTK# for Linux:
Buidling on Linux:
There is a Windows Installer for GTK# here.
If you want to build GTK# yourself on Windows:
To build gtk# under windows, you will need the following:
If you are running Windows 95/98/ME, then you will need Unicode support. Look in mono-list archives for information about how to get Mono to work on Windows 9x. here
Environment Variables to set:
F:/cygwin/home/DanielMorgan/mono/install
So, I would set my PATH in the Windows Control Panel as:
F:/cygwin/home/DanielMorgan/mono/install/bin;F:/cygwin/home/DanielMorgan/mono/install/lib
F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig
If you got the gtk-sharp source, cd to the gtk-sharp directory, type:
./autogen.sh --prefix=~/mono/install
Set your --prefix= to whatever your mono installation prefix is located. This will take awhile to go through the ./autogen.sh and ./configure...
After that it finishes succesfully, you run make with the makefile.win32 like:
make -f makefile.win32
After that finishes succesfully, you can copy to your mono installation lib path like:
cp */*.dll ~/mono/install/lib
The pkg-config files for gtk+ 2.0 and dependencies will need to be set correctly if they haven't already been.
Look in your mono installation/lib/pkgconfig, such as,
F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig
You will find files like: gtk+-2.0.pc
Edit the line that says
prefix=something
And set it to your mono installation prefix, such as,
prefix=F:/cygwin/home/DanielMorgan/mono/install
Do this for all the .pc files in that directory. If there are not any, then you will need to create them. Or get them from somewhere like the dev packages at here ** GTK# On FreeBSD TODO. Any volunteers? ** GTK# On Solaris TODO. Any volunteers? ** GTK# On AIX TODO. Any volunteers?