Pie Chart Files

Listing C.5 is the interface.c file for the pie chart executable, and Listing C.6 is the Glade project file.

interface.c for the Pie Chart Executable

Listing C.5 is the Glade-generated file for creating the interface for the pie chart executable. As with the previous two examples in this appendix, it creates a single window widget and returns that widget to the calling program.

Listing C.5. interface.c for the Pie Chart 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" ...

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.