[Mono-list] Integrate GTK# into mono?

Jonathan Pryor jonpryor@vt.edu
Sat, 09 Aug 2003 11:39:07 -0400


Summary: No, you're wrong in thinking that you don't need Wine and CVS
mono to use WinForms.

WinForms is not Gtk#.  WinForms currently has two backends: the
Wine-based implementation, and a GTK+ implementation.  The Wine-based
implementation is getting most of the attention (you can consider the
GTK+ version to be a research project for now).

As such, you *must* have Wine installed in order to use WinForms under
mono.  However, you can't just use any Wine installation.  You have to
use a Wine installation that has the appropriate patches.  The Wine
patches can be found at:

	http://www.openlinksw.com/mono/

Miguel originally discussed this in:

	http://lists.ximian.com/archives/public/mono-list/2003-May/014079.html

However, you don't need to apply the patches and compile Wine yourself. 
RPM packages are available from the mono download page.  See Duncan's
original email:

	http://lists.ximian.com/archives/public/mono-list/2003-July/015120.html

Additionally, you have to use CVS mono because the last mono release
(0.25) has a less complete WinForms implementation than CVS.  So, you
can either use CVS to get the better WinForms support, or wait for the
next mono release (0.26).

hth,
 - Jon

On Sat, 2003-08-09 at 07:19, Paul Grenyer wrote:
> On Fri, 2003-08-08 at 18:23, Miguel de Icaza wrote:
> 
> Hi Miguel
> 
> > Because Linux already provides a solution to the problem in the form of
> > package dependencies.  Just use your package system to install Gtk#, and
> > everything you need to build GUI apps will be pulled in for you.
> 
> Ah! I think we may have been talking cross purposes.
> 
> I remember reading on the mono website a few weeks ago that in order to
> use WinForms it was necessary to have Wine installed and build mono from
> the CVS source. I remember thinking at the time that this was a little
> strange as I had downloaded the GTK# RPMs a long with the mono RPMs.
> 
> So, am I right in thinking that you do not need Wine or to build mono
> from the CVS source to use WinForms and that you only need to install
> the GTK# RPMs along with the mono RPMs?