📄 gtk_tut-24.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML><HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>GTK v1.2 Tutorial: Tips For Writing GTK Applications</TITLE> <LINK HREF="gtk_tut-25.html" REL=next> <LINK HREF="gtk_tut-23.html" REL=previous> <LINK HREF="gtk_tut.html#toc24" REL=contents></HEAD><BODY BGCOLOR="#FFFFFF"><A HREF="gtk_tut-25.html">Next</A><A HREF="gtk_tut-23.html">Previous</A><A HREF="gtk_tut.html#toc24">Contents</A><HR NOSHADE><H2><A NAME="s24">24. Tips For Writing GTK Applications</A></H2><P>This section is simply a gathering of wisdom, general style guidelinesand hints to creating good GTK applications. Currently this sectionis very short, but hopefully it will get longer in future editions ofthis tutorial.<P>Use GNU autoconf and automake! They are your friends :) Automakeexamines C files, determines how they depend on each other, andgenerates a Makefile so the files can be compiled in the correctorder. Autoconf permits automatic configuration of softwareinstallation, handling a large number of system quirks to increaseportability. I am planning to make a quick intro on them here.<P>When writing C code, use only C comments (beginning with "/*" andending with "*/"), and don't use C++-style comments ("//"). Althoughmany C compilers understand C++ comments, others don't, and the ANSI Cstandard does not require that C++-style comments be processed ascomments.<P><HR NOSHADE><A HREF="gtk_tut-25.html">Next</A><A HREF="gtk_tut-23.html">Previous</A><A HREF="gtk_tut.html#toc24">Contents</A></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -