User Interface Construction with Glade

This section covers the construction of the user interface using Glade. Figures 6.1, 6.2, and 6.3 will be referenced extensively. So you may want to refresh your memory of them or dog-ear their pages.

Starting the frm_main Project

Launch glade from the command line. The UI should be constructed so it can be modified later, knowing that glade will overwrite interface.c, append to callbacks.c, and not touch main.c. Therefore, try not to make changes to files that will be overwritten unless you are willing to document those changes elsewhere so they can be re-created when necessary.

First, set the project options. The name of this application should be set to sesi, making the glade file Disable ...

Get MySQL Building User Interfaces now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.