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 sesi.glade. Disable ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.