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