Appendix A. Glade-Generated Files from the SESI Order Application

only for RuBoard - do not distribute or recompile

Appendix A. Glade-Generated Files from the SESI Order Application

graphics/chic01.gif

This appendix covers two files that are very important to the SESI Order application built in Chapter 6, Order Entry Abstract and Design, and Chapter 7, Construction of the SESI Order Entry Application. The two files are interface.c and sesi.glade . interface.c is the Glade-generated file that builds the forms for the application. In it you will see a function called create_frm_main() , which returns a GtkWidget; this is the function called by main.c to create form frm_main. s esi.glade is the SESI Order project file; it stores the application interface in an XML format for use by Glade. Both are generated by Glade and are overwritten each time the Build button is pressed.

It is important to note that “ “as tempting as it may be “ “you should not alter these functions unless you really, really have to. Remember that if you do, your changes will be lost the next time you open Glade and build the project. If you do find it necessary to change these functions after Glade has created them, I strongly suggest that you make very detailed notes of precisely what changes you ve made, where, and why.

only for RuBoard - do not distribute or recompile


MySQL Building User Interfaces
MySQL: Building User Interfaces (Landmark)
ISBN: 073571049X
EAN: 2147483647
Year: 2001
Pages: 119

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net