3. General description of Gnome2::Druid

This will give an overview on where Gnome2::Druid fits in, its uses and advantages.

3.1. Druids, Wizards and objects of magic

Every user of a modern GUI will at some stage encounter the use of what is known as a Wizard or Druid.

A typical Druid will start with a screen telling you what it is about: EG Setting up a network. You are then usually offered a choice to continue by using a "Next" button or to bail out by using a "Cancel" button. When you proceed you will typically be asked a few questions. These questions may be spread across a few screens, each offering a "Next" and "Back" button to navigate around. When you reached the end, you will be informed. The "Next" button will by then have changed appearance and be an "Apply" or "Finish" button.

The Gnome2::Druid class which is part of the Gnome2 classes offer you this functionality. By using this class, you don't have to keep track which screen of the Druid is currently showing, or manipulating the navigation buttons (graying the "back" and "next" buttons out). It also offers you the ability to change the appearance of certain parts of each druid screen.

Making use if this class will give your application a familiar look and feel similar to fellow Gnome2 applications. It also reduces the lines of code in your program by a large amount, and we all love smaller programs.

3.2. More Specific

The rest of this document will describe the components used in a Gnome2::Druid and how to use it. It finishes with a sample program used as a demonstration.