Next: , Previous: , Up: GNU PSPP Developers Guide   [Contents][Index]


7 Graphic User Interface

Files pertaining to the GUI are found in the directory src/ui/gui/.

The GUI uses the Gtk+ library. Many parts are defined using GtkBuilder files which have a ‘.ui’ prefix. These are XML files and as such can be editied using a text editor, which is often easiest when making small changes. More substantial changes however are best done using Glade. Since however PSPP has many custom defined widgets, Glade must be started with certain environment variables set. The easiest way to run Glade with the correct variables is as follows:

make src/ui/gui/glade-wrapper
./src/ui/gui/glade-wrapper <name-of-gtk-builder-file>

If you create new custom widgets for use in PSPP you must do the following to make sure they are available to Glade: