Re: learning gtk+ well: Which book to buy?



And I forgot that trick, if you use Google, you can search files of a particular type with
"filetype"

For example you can search GtkTreeView in C source code with this :
"GtkTreeView filetype:c"

Or in Vala with this :
"Gtk.TreeView filetype:vala"

Then you have a huge book with tons of sample code.

:-)

On 27/03/2012 21:31, Vlad Volodin wrote:
Hi again,

Oh! I remember more. Sometimes Vala implementation helped me in the past,
when I learned how to create GObject classes, interfaces, public, private
section. Vala looks like C# and might help you to understand how to make
correct GObject classes :)

Best regards,
Vlad

27 ÐÐÑÑÐ 2012 Ð. 21:26 ÐÐÐÑÐÐÐÐÑÐÐÑ Tristan Van Berkom<tvb gnome org>ÐÐÐÐÑÐÐ:

Hi,
   I have to strongly agree with Vlad here, I think the quality of
information that
you can find in print on GTK+ pales in comparison to what you have readily
available on the internet. Of course finding the right material to read
might
be staggering at first, just toy with the apis a little, doing some
experimentation
will quickly set you on the right track.

I strongly recommend that you start with getting a grip on the GObject type
system, read the material that can be found here:
   http://developer.gnome.org/gobject/2.32/

GTK+ is basically just GObject based widgetry which deals with the GDK
backend for windowing system interaction... once you get a feel for the
main virtual methods involved on the GtkWidget class then you should
have a pretty good understanding of how GTK+ works (yes, easier said
than done... I just doubt that any book on the shelf is going to get you
there any faster than just experimenting and doing it yourself).

And as Vlad also mentioned, do take a look at some of the more simple
and/or more maintained projects source code, the source code of
Devhelp is small and readable (of course most of the work is done
by the browser embedding, just take a look at how it creates the
preferences
dialog using GtkBuilder and creates a widget class to encapsulate
the preferences module).

Cheers,
             -Tristan

On Wed, Mar 28, 2012 at 3:54 AM, Vlad Volodin<vest 84 gmail com>  wrote:
Hello Howard,

I am afraid to disappoint you, but in this case books will not help much.
GTK+ was changed significantly comparing to GTK+ from the 2007.
The best way to start learning is to read a documentation, play with
demos
and tutorials, examine other non-complex projects. If you are able to
find
a copy of the book, you may read it fast and skip many sentences just to
get a brief idea :)

Best regards,
Vlad

27 ÐÐÑÑÐ 2012 Ð. 20:45 ÐÐÐÑÐÐÐÐÑÐÐÑ Christopher Howard<
christopher howard frigidcode com>  ÐÐÐÐÑÐÐ:

Hi. I want to have a thorough and well-formed understanding of how to
use gtk+, which I'm not quite getting from the API. What would be the
best book I can buy right now? The most up-to-date book I see is
Foundations of GTK+ Development (2007) but not having a lot of money to
experiment with, I was hoping to get your recommendations before buying
anything.

--
frigidcode.com
indicium.us


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


--
Axel FILMORE




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]