interface.c

Listing B.1 is interface.c for the Worldwide Commissions application. Its use and implementation is the same as described for Appendix A.

Listing B.1 contains three functions: create_frm_login(), create_frm_table_ display(), and create_frm_commissions(). Each creates the form widget and child widgets for the forms and then connects the signals with the callbacks (found in callbacks.c, see Chapter 9, or download from the book’s companion Web site).

Listing B.1. interface.c for the Worldwide Commissions Application
						/* DO NOT EDIT THIS FILE. It is generated by Glade.
						*/ #ifdef HAVE_CONFIG_H # include <config.h> #endif #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <string.h> #include <gdk/gdkkeysyms.h> #include ...

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.