[Mono-list] Gtk C# Hello World

Miguel de Icaza miguel@ximian.com
17 Sep 2001 00:10:23 -0400

> I have emerged from a very steep learning curve and have checked in a
> small amount of code toward a Gtk C# language binding. With the code
> currently in CVS, I have successfully executed the included
> gtk-hello-world app on a Win32 beta2 system.  

Wow!   This is amazing!  Not only it is amazing, but your support code
is beautiful!  (btw, you forgot to post the sample).

> This isn't much code, but it demonstrates a potential strategy to allow
> event propagation and method invocation of the C libraries.  All that
> remains is the addition of a boatload of [DllImport("gtk-1.3")]
> statements.  :-)

One thing that might be beneficial for the project is to use the
GObject arguments to minimize the code written.   A lot of settings
can be accessed through arguments, so you could minimize the number of
Dllimports that you have to write.

Mapping signals to delegates was also a beautiful idea.