Updated GTK+ tutorial available
- From: Roger Leigh <roger whinlatter uklinux net>
- To: gtk-list gnome org
- Subject: Updated GTK+ tutorial available
- Date: Fri, 18 Jun 2004 00:02:15 +0100
I've updated my small GTK+ introduction/tutorial. It now includes
example usage of deriving a new widget using GObject.
The tutorial mainly exists to compare different methods of writing
GTK+ applications:
· C (plain)
· C (with libglade)
· C (with GObject and libglade)
· C++ (plain, using Gtkmm)
· C++ (Gtkmm with libglademm)
The same small program is implemented using all these methods to allow
comparisons between them, showing the differences in code size,
organisation, complexity and readability etc..
Because the chapter on GObject is new, and I'm also new to GObject, I
would greatly appreciate it if anyone with GObject experience could
have a look at the GObject section to check for any wild inaccuracies!
I think I may be confused with GObject destruction and GtkWidget
destruction due to "destroy" and "delete" GdkEvents, and I'd like to
clear up any confusion. I'd like this to be as accurate as possible!
I would also be very interested in any other comments, criticisms and
suggestions.
The tutorial is here:
http://people.debian.org/~rleigh/gtk/ogcalc/ogcalc.pdf
And the source, including the PDF, figures and example code, is here:
http://people.debian.org/~rleigh/gtk/ogcalc/ogcalc-1.0.2.tar.gz
Many thanks,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]