The reference pages for this document are generated automatically by a Gamma program (gtkwidgets2docs.g) that reads widget definitions from the gammagtk.so shared object file and writes them to individual files, adding SGML markup. The HTML version of the output contains links to the standard GTK documentation, which is included in our HTML distribution. Because the GTK widget set is under constant development, we have created the reference in such a way that it can be newly generated at any time. Certain parts of some pages, such as widget purposes, descriptions, and examples are written by hand and included in the document using entities. The entity definitions and files are generated automatically by gtkwidgets2docs.g as well.

Here are the pre-processing steps for setting up the GTK documentation and auto-generating the SGML for the Gamma/GTK reference pages:
gdk_window_unref gdk-windows GDK ... gtk_calendar_get_type GtkCalendar Cogent
gtk_rc_add_default_file gtk-resource-files GTK Note: Use gtk_rc_parse() instead of this function. ... gtk_accel_group_create_add GtkAccelGroup GTK Category: gtk-keyboard-accelerators
![]() | When all hand edits are complete and the file has been tested, it should be copied to processed_functions.txt.backup in case something should go wrong, because the function_processor.g program writes over processed_functions.txt each time it runs, and all hand-edits could be inadvertently lost. We don't do an automatic backup, because we want to make sure the content is correct before we back up. |
The source code for the programs and a page of example output are shown in the Building Gamma/GTK docs appendix.
Copyright © 1995-2004 by Cogent Real-Time Systems, Inc. All rights reserved.