Gtk+

GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating graphical user interfaces. GTK+ is a highly usable, feature rich toolkit for creating graphical user interfaces which boasts cross platform compatibility and an easy to use API.


1.gif

Gtk started as a collection of widgets for the GNU Image Manipulation Program (GIMP) but has since grown in popularity, its popularity has been encouraged through its language independence, which is achieved through language bindings (also called wrappers). These wrappers provide the API for accessing the Gtk+ toolkit from multiple languages such as C, C++, Java, Perl, Python,and of course C# and scale to be used by a significant number of applications, including the GNOME desktop.

The Gtk+ toolkit fundamentally consists of a number of libraries, including the following:

Packages Gtk+

GTK+ individual packages

2.gif

Required third party dependencies

The run-time packages here are required by the GTK+ stack.

3.gif

Other third party software

These packages are not needed to run software that uses just GTK+, or to develop such software. These packages are used when building and running more complex applications.

4.gif


Glade

Glade is a RAD (Rapid Application Development) tool for designing GTK+ applications. Glade is a GTK+ application itself. It is simply a piece of software developers use to simplify the process of laying out an application's interface. Glade creates what will here forth be referred to a s a "glade file". A glade file is actually an XML file which describes the hierarchy of the widgets comprising the interface.

Glade is an open-source tool that allows you to visually design your user interface using the Gtk+ toolkit and then save this visual representation as an XML file that can be dynamically loaded and utilized by an application that is using the appropriate library.

Glade interface

5.gif


Navigating the Glade User Interface

The Glade tool makes defining the user interface to your application simple. It's presented as three windows that interact with one another, including the main window, the Pallet window, and the Properties window.

Main Window

6.gif

Palette Window

The controls, or widgets, by selecting the button associated with the category of controls you want to view

7.gif

The categories exposed via the buttons include the following:

Properties Window

The Properties window allows you to view and modify a variety of properties associated with the control that currently has the focus.

f8.gif

You can access a tab by simply selecting it; the properties associated with that category then display for you to view or edit. These categories are as follows: