?? gtk_tut-24.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.7">
<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 TEXT="#CCCCCC" BGCOLOR="#000000" LINK="#33cc00" VLINK="#009900" ALINK="#FF0000">
<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>
<H2><A NAME="s24">24. Tips For Writing GTK Applications</A></H2>
<P>This section is simply a gathering of wisdom, general style guidelines
and hints to creating good GTK applications. Currently this section
is very short, but I hope it will get longer in future editions of
this tutorial.
<P>Use GNU autoconf and automake! They are your friends :) Automake
examines C files, determines how they depend on each other, and
generates a Makefile so the files can be compiled in the correct
order. Autoconf permits automatic configuration of software
installation, handling a large number of system quirks to increase
portability. I am planning to make a quick intro on them here.
<P>When writing C code, use only C comments (beginning with "/*" and
ending with "*/"), and don't use C++-style comments ("//"). Although
many C compilers understand C++ comments, others don't, and the ANSI C
standard does not require that C++-style comments be processed as
comments.
<P>
<HR>
<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 + -