KBI Files

The next two listings are the interface.c and kbi.glade files for the KBI executable created in Chapter 12.

interface.c for KBI

Listing C.1 is the Glade-generated file for creating the interface to KBI (the executable). It creates the form and returns a pointer to the newly created “frm_kbi.”

Listing C.1. interface.c for the KBI executable
							/* 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_kbi (void) { GtkWidget *frm_kbi; GtkWidget *vbox1; GtkWidget *lst_reports; ...

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.