gtk-examples

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:82KB
下载次数:30
上传日期:2010-07-31 10:31:43
上 传 者magicadmin
说明:  socket编程下的GTK代码,为新手提供大量的资料和素材。
(Under the GTK socket programming code, provide a lot of information for the novice and the material.)

文件列表:
gtk-examples (0, 2009-03-12)
gtk-examples\arrow (0, 2009-03-12)
gtk-examples\arrow\arrow.c (2038, 2007-07-17)
gtk-examples\arrow\Makefile (271, 2007-07-17)
gtk-examples\aspectframe (0, 2009-03-12)
gtk-examples\aspectframe\aspectframe.c (1442, 2007-07-17)
gtk-examples\aspectframe\Makefile (296, 2007-07-17)
gtk-examples\base (0, 2009-03-12)
gtk-examples\base\base.c (259, 2007-07-17)
gtk-examples\base\Makefile (261, 2007-07-17)
gtk-examples\buttonbox (0, 2009-03-12)
gtk-examples\buttonbox\buttonbox.c (3683, 2007-07-17)
gtk-examples\buttonbox\Makefile (286, 2007-07-17)
gtk-examples\buttons (0, 2009-03-12)
gtk-examples\buttons\buttons.c (2460, 2007-07-17)
gtk-examples\buttons\info.xpm (2039, 2007-07-17)
gtk-examples\buttons\Makefile (284, 2007-07-17)
gtk-examples\calendar (0, 2009-03-12)
gtk-examples\calendar\calendar.c (12230, 2007-07-17)
gtk-examples\calendar\Makefile (248, 2007-07-17)
gtk-examples\clist (0, 2009-03-12)
gtk-examples\clist\clist.c (5801, 2007-07-17)
gtk-examples\clist\Makefile (256, 2007-07-17)
gtk-examples\entry (0, 2009-03-12)
gtk-examples\entry\entry.c (3463, 2007-07-17)
gtk-examples\entry\Makefile (266, 2007-07-17)
gtk-examples\eventbox (0, 2009-03-12)
gtk-examples\eventbox\eventbox.c (1435, 2007-07-17)
gtk-examples\eventbox\Makefile (281, 2007-07-17)
gtk-examples\extract.awk (1717, 2007-07-17)
gtk-examples\extract.sh (741, 2007-07-17)
gtk-examples\filesel (0, 2009-03-12)
gtk-examples\filesel\filesel.c (1281, 2007-07-17)
gtk-examples\filesel\Makefile (276, 2007-07-17)
gtk-examples\find-examples.sh (183, 2007-07-17)
gtk-examples\fixed (0, 2009-03-12)
gtk-examples\fixed\fixed.c (2001, 2007-07-17)
gtk-examples\fixed\Makefile (266, 2007-07-17)
gtk-examples\frame (0, 2009-03-12)
gtk-examples\frame\frame.c (1250, 2007-07-17)
... ...

GTK Example Code - Tony Gale ***0623 -------------------------------------------------- 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 : 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 '&' with '&'

近期下载者

相关文件


收藏者