[Mono-list] GTK# + GTk.

Daniel Morgan danmorg@sc.rr.com
Mon, 6 Jan 2003 08:01:55 -0500


There are many places you can get GTK+ 2.0 binaries for Windows.

Prettiest: http://www.dropline.net/jade/download.html
Includes GTK# 0.6 too: http://mono.jroith.de/gtk-sharp-0.6-stable.exe
Lots of packages to get: http://www.gimp.org/~tml/gimp/win32/downloads.html

Here are some more, but I haven't tried these:

Dev-C++ site: http://www.bloodshed.net/dev/packages/gtk.html
Gtk4Win: http://wingtk.sourceforge.net/index.html

The package from http://www.dropline.net/jade/download.html has
got to be the prettiest I've seen for Windows.

If you want to build GTK+ 2.0 for yourself, get the source from:
ftp://ftp.gtk.org/pub/gtk/v2.0/

For Mono, I have gotten GTK# programs to work okay.

For .NET, I got to it run simple GTK# programs like the GTK# ButtonApp
sample in Visual Studio.net.  Anything more complicated and it fails.  I
don't know why.  For the System.dll, System.Xml.dll, and System.Drawing.dll,
I referenced Mono's assemblies in vs.net.  I also set the working directory
to my MONO_INSTALLATION_PREFIX\lib. For me, my MONO_INSTALLATION_PATH
is F:\cygwin\home\DanielMorgan\mono\install.  For running it on .NET without
vs.net, I could only run the sample ButtonApp in my
MONO_INSTALLATION_PREFIX\lib directory.

As for using or not using cygwin1.dll, I don't know. As far as I know, the
building of mono, mcs, ang gtk-sharp uses cygwin only for the build
environment.  If you look at the building of the mono jit and gtk-sharp
stuff, you will see it use the mingw gcc compiler -- which means it does not
use cygwin1.dll.

-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
Behalf Of Miguel de Icaza
Sent: Monday, January 06, 2003 3:19 AM
To: Simon Waite
Cc: Mono List
Subject: Re: [Mono-list] GTK# + GTk.


Hello,

> Slightly offtopic I know, I'd like to play about with running GTK# apps on
> windows,
>
> I'm wondering the following:
>
> 1. Where can I get a package containing (ideally) all the GTK2 libraries
and
> their co-dependants
>    which don't need cygwin.dll I've looked on some sites, including GIMP,
> but somewhere there are
>    dependancies for cygwin :(

Dan recently posted this information on gtk-sharp-list, you might want
to check the archives for the list.

> 2. Has anyone actually tried GTK# on windows + .NET ?

Yes, various people are using it today on that setup.

Miguel

_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list