Previous Next

Graphical Interface Development with Glade2

Author: Rikke D. Giles, copyright Rikke D. Giles 2003

A Quick Tour of Glade: Page 2

The Files Glade Produces

When You Save A Project

When you click save in the main glade window, glade will save two files to the directory you specified with the project options button or menu item. If you did not specify any project name, glade will save the project in the /Projects directory in your home shell. The project will be called 'Project#' where # is a number which is dependent upon how many projects you have created. It's best to name the project/application right away to minimize confusion. Replace project# with the name of your application below, if you have named it.

The two files created with save are:

where 'Project1' can be the name of the project you've given in options, etc.

These two files contain the xml used by glade, or libglade to load the application windows you have created. If you have glade build your project, the *.glade file will be used with libglade. If you prefer to call libglade in your application, you'll use the *.glade files directly in the application.

When You Build A Project

Glade builds all the files needed to generate the GUI for an application when you click Build in the main glade window. Since these files can be somewhat confusing, especially if you've little knowledge of building applications under Linux, they will be discussed in depth below.

Previous Next