GTK+/Gnome Application Development

December 6th, 2000 by Ben Crowder in

GTK+/Gnome Application Development Author: Havoc Pennington Publisher: New Riders Publishing URL: http://www.mcp.com/ Price: $39.00 US ISBN: 0-735-70078-8 Reviewer: Ben Crowder
Your rating: None

Penned by Havoc Pennington, GTK+/Gnome Application Development is clearly a jewel in the vast sea of programming books. Not only is it well-written, clear and humorous, but the book is also released under an open license, meaning you can download the entire text for free. The free text is available at http://developer.gnome.org/doc/GGAD. I would still recommend purchasing the print version, however, since ink on paper is easier on the eye than any computer monitor.

The first part of the book is an overview of the basics. Chapter One introduces Gnome, the second chapter introduces glib (the low-level utility library behind Gnome) and Chapter Three introduces GTK+.

Part II is, in itself, all you need to learn how to build a Gnome application. The fourth chapter explains how to create a source tree the Gnome way. Chapter Five goes over Gnome application basics, such as initialization, configuration files and session management. The core of the application, the GnomeApp widget, is covered in Chapter Six. The seventh chapter explains how to communicate with users through dialogs. Chapter Eight is a checklist that comes in handy when starting a new project.

Part III covers advanced GTK+ and Gnome techniques. Chapter Nine explains, in detail, the GTK+ object and type system. Gdk basics are dealt with in the tenth chapter. Chapter Eleven is a tutorial on creating new widgets, using GtkWidget. At a higher level than the Gdk basics covered in Chapter Ten, Chapter Twelve explains the GnomeCanvas, and Chapter Thirteen tells you how to write your own GnomeCanvasItem.

The first appendix is a listing of the hierarchy of GTK+ and Gnome objects, detailing which parents belong to which children and vice versa, and can be extremely useful at times. Appendix B lists every GTK+/Gnome header file and tells you what it contains. The third appendix holds the frequently asked questions, the fourth lists on line resources for further GTK+/Gnome enlightenment and the fifth gives you full code listings for programs in the book. The final appendix is the Open Publication License, under which the book is published.

If you're interested in GTK+ and/or Gnome programming, this book should be at the top of your shopping list. It's a delight to read and its utility is unquestionable. Five stars, without the slightest hesitation.

Ben Crowder has been working with Linux for the past two and a half years and has loved every second of it. He currently lives in Utah and can be reached at crowderb@netbrick.com.

__________________________


Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Sorry, offer available in the US only. International orders, click here.

Featured Videos

The X Window System is a magnificent platform for many uses, but using it to run an application over a slow network is nearly impossible. This is an introduction to NX, a technology that makes remote applications fly even over commodity internet.

Linux Journal Gadget Guy, Shawn Powers, reviews the Flip Video Ultra, a small portable video camera, and shows us how easy it is to edit the video with Kino.

Thanks to our sponsor: Silicon Mechanics

From the Magazine

September 2008, #173

Feeling a bit like a Thermian? Never give up, never surrender! Someday, you could go from underdog to top dog. Just take a look at a few of the underdogs we highlight in this issue: Mutt, djbdns, Nginix, Gentoo, Xara and the program voted mostly likely to fail just a few years back—Firefox. If Firefox not radical enough for you, check out Chef Marcel's column for some more alternatives. Having trouble mapping your program data to your relational database? If so, Rueven Lerner shows you some tricks in his At The Forge column.

Need to run GUI applications on your server in the next state? In his Paranoid Penguin column, Mick Bauer shows you how to do it securely. Kyle Rankin keeps hacking and slashing and shows you a few split screen secrets you may not be familiar with. Finally, we all know what happens next February, but only Doc knows what happens afterward.

Read this issue