Application Programming Using the GNOME Libraries

George Lebl

The GNOME Project

        jirka@5z.com
      

In this tutorial, you will receive an overview of the GNOME libraries. You will learn how to speed up development of applications by using the many utility routines and objects available through the GNOME libraries, and how to make the GUI more consistent by using standard GNOME UI components. Focus will also be given to C applications using the GTK+ toolkit.


Table of Contents
Credits, Copyrights and Other Such Informations
1. GNOME Libraries Overview
Where Do GNOME Libraries Fit
Structure of GNOME Libraries
2. GTK+ Programming
Overview
GLib
Naming Conventions
Typedefs
Portability and Utility Functions
Containers
More GLib Information
GTK+
GUI Basics
GTK+ Object Model
GTK+ Method Types
Data on Objects
GTK+/GNOME Naming Conventions
Using GTK+ Methods
Example Hello World Program
3. GNOME Programming
Introduction
What Is a GNOME Program
Very Basic GNOME Program
Overview
Using the libgnome Library
Configuration Files
.desktop Files
Utility and Files
Mime Types
Meta Data
Using the GnomeApp Framework
GnomeApp Overview
Creating a GnomeApp Window
Menu and Tool-bar Creation
GnomeAppBar, The Status Bar
Talking To The User
Using the libgnomeui Library
Stock Icons
Dialogs
Entries
Using Images
Session Management
Multiple Document Interface
Miscellaneous Widgets
GnomeCanvas Widget
Creating a Canvas Widget
Groups and Items
Creating Items
Anti-aliasing Canvas
Drag and Drop
Accepting Drops
Allowing Drags
4. Building GNOME Apps
Using a Simple Makefile
The gnome-config Script
A Simple Example Makefile
Using automake/autoconf
5. Conclusion
Getting Further Help
Future GNOME Library Developments