interface.c

This file contains the various functions for creating the forms that make up the user interface (see Listing A.1).The functions are create_frm_main(), create_frm_items_ ordered(), create_frm_find_item(), and create_frm_find_customer(). Each of these functions returns a pointer to a GtkWidget (review main.c) to see how these functions are implemented.

Listing A.1. interface.c from the SESI Order 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 <gtk/gtk.h> #include "callbacks.h" #include "interface.h" #include "support.h" GtkWidget* create_frm_main ...

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.