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 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.