[Mono-list] Porting PyGtk tutorial to GTK# - Help needed

Andy andy at ninjagod.com
Mon Jul 6 08:59:16 EDT 2009

I was looking at the tutorials available for GTK#, and none of them seem to
be as good as the tutorials available for PyGtk or Gtk+. I realized that the
PyGtk tutorial is almost like a port of the original GTK+ tutorial with some
added tutorials regarding TreeViews, etc.

Since GTK# bears some significant similarity over PyGTK, I felt that it
wouldn't be too challenging to port the code samples and syntax from the
original tutorial to a newer one. The structure of the tutorial and the
content has been tested for several years and seem to be effective enough as
a starting point for material. I decided to start an ambitious attempt to
port the entire tutorial to GTK# within the next few weeks)

The original PyGtk tutorial can be accessed from here:

I have attempted porting a single section just to get a feel for it. You can
see the original "Buttons" tutorial here -
And also compare it with my attempt available here:

The conversion was relatively effortless and required a single concise
read-through and porting the code line-by-line. The rest was just
copy-paste. Porting is a lot easier if you have an understanding of Python
(I did), but it's quite readable and obvious. I guess we also need to write
whole programs and make the source available after testing and making sure
that it works (My code that I put up there doesn't). It took about half an
hour to get it done.

I'm hoping that with enough contributors sharing the work, and not altering
content significantly, we can finish the conversion fast and effectively,
and make the learning content available for people who are new to GTK#
development, and leverage existing documentation. Please email me if you are
interested in contributing.

Also, for people who have done something like this before, any advice
regarding the tools to use, etc would be greatly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090706/1fdcb652/attachment.html 

More information about the Mono-list mailing list