gtk3/examples
GMT 1999 Tony Gake c39dffed55 examples/fixed/*, examples/frame/* - Examples from the Tutorial
Fri Jan 29 09:44:37 GMT 1999 Tony Gake  <gale@gtk.org>

        * examples/fixed/*, examples/frame/*
          - Examples from the Tutorial
1999-01-29 09:53:14 +00:00
..
aspectframe - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
base - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
buttons - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
calendar
clist - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
entry - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
eventbox - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
filesel - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
fixed examples/fixed/*, examples/frame/* - Examples from the Tutorial 1999-01-29 09:53:14 +00:00
frame examples/fixed/*, examples/frame/* - Examples from the Tutorial 1999-01-29 09:53:14 +00:00
gtkdial - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
helloworld - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
helloworld2 - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
list - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
menu - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
notebook - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
packbox - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
packer - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
paned - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
pixmap - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
progressbar - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
radiobuttons - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
rangewidgets - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
rulers - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
scribble-simple - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
scrolledwin - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
selection - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
statusbar - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
table - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
text - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
tictactoe - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
tree - Replace all uses of deprecated functions. - Replace menufactory example 1999-01-28 10:35:40 +00:00
wheelbarrow - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix 1998-12-10 17:31:04 +00:00
extract.awk
extract.sh
find-examples.sh
Makefile
README.1ST

GTK Example Code - Tony Gale <gale@gtk.org> 980623
--------------------------------------------------

I have written an awk script to automatically extract the code
examples from the GTK Tutorial (in sgml), so they only have to be
changed in one place.

It's called 'extract.awk', and there is a shell wrapper to invoke
it called 'extract.sh'

It takes the following switches:
 -c : Just do checking rather than output files
 -f <filename> : Extract a specific file
 -d : Extract file(s) to current directory

Without the -d switch, the code will be placed in the appropriate
sub-directory. Those sub-directories will be created if they do not
exist.

Without the -f switch, all code examples will be extracted.

The shell wrapper assumes that the GTK Tutorial is in the 
file "../docs/gtk_tut.sgml"

It works by looking for sections of text in the tutorial surrounded
by, for example:

/* example-start helloworld helloworld.c */

and

/* example-end */

Where "helloworld" is the directory into which the file will be
placed (which can also be a directory spec like hello/hello1), and
"helloworld.c" is the file name for the code.

So, the code between these lines would be extracted to the file
helloworld/helloworld.c

It also handles replacing the sgml tag '&amp;' with '&'