Documentation tweaks

This commit is contained in:
Matthias Clasen
2011-02-09 00:21:37 -05:00
parent 5ada6ac197
commit 7e7eaf315b
6 changed files with 56 additions and 36 deletions

View File

@ -172,7 +172,7 @@ How to compile GTK+ itself
such as high level data types, Unicode manipulation, and such as high level data types, Unicode manipulation, and
an object and type system to C programs. It is available an object and type system to C programs. It is available
from the <ulink url="ftp://ftp.gtk.org/pub/glib/">GTK+ from the <ulink url="ftp://ftp.gtk.org/pub/glib/">GTK+
FTP site.</ulink> FTP site</ulink>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
@ -180,7 +180,7 @@ How to compile GTK+ itself
<ulink url="http://www.pango.org">Pango</ulink> is a library <ulink url="http://www.pango.org">Pango</ulink> is a library
for internationalized text handling. It is available from for internationalized text handling. It is available from
the <ulink url="ftp://ftp.gtk.org/pub/pango/">GTK+ FTP the <ulink url="ftp://ftp.gtk.org/pub/pango/">GTK+ FTP
site.</ulink>. site</ulink>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
@ -189,7 +189,7 @@ How to compile GTK+ itself
interfaces allowing accessibility technologies such as interfaces allowing accessibility technologies such as
screen readers to interact with a graphical user interface. screen readers to interact with a graphical user interface.
It is available from the <ulink It is available from the <ulink
url="ftp://ftp.gtk.org/pub/atk/">GTK+ FTP site.</ulink> url="ftp://ftp.gtk.org/pub/atk/">GTK+ FTP site</ulink>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
@ -309,49 +309,60 @@ How to compile GTK+ itself
<cmdsynopsis> <cmdsynopsis>
<command>configure</command> <command>configure</command>
<sbr/>
<group> <group>
<arg>--disable-modules</arg> <arg>--disable-modules</arg>
<arg>--enable-modules</arg> <arg>--enable-modules</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--with-included-immodules=MODULE1,MODULE2,...</arg> <arg>--with-included-immodules=MODULE1,MODULE2,...</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--enable-debug=[no/minimum/yes]</arg> <arg>--enable-debug=[no/minimum/yes]</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--disable-Bsymbolic</arg> <arg>--disable-Bsymbolic</arg>
<arg>--enable-Bsymbolic</arg> <arg>--enable-Bsymbolic</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--disable-xkb</arg> <arg>--disable-xkb</arg>
<arg>--enable-xkb</arg> <arg>--enable-xkb</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--disable-xinerama</arg> <arg>--disable-xinerama</arg>
<arg>--enable-xinerama</arg> <arg>--enable-xinerama</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--disable-gtk-doc</arg> <arg>--disable-gtk-doc</arg>
<arg>--enable-gtk-doc</arg> <arg>--enable-gtk-doc</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--disable-cups</arg> <arg>--disable-cups</arg>
<arg>--enable-cups</arg> <arg>--enable-cups</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--disable-papi</arg> <arg>--disable-papi</arg>
<arg>--enable-papi</arg> <arg>--enable-papi</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--enable-xinput</arg> <arg>--enable-xinput</arg>
<arg>--disable-xinput</arg> <arg>--disable-xinput</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--enable-packagekit</arg> <arg>--enable-packagekit</arg>
<arg>--disable-packagekit</arg> <arg>--disable-packagekit</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--enable-x11-backend</arg> <arg>--enable-x11-backend</arg>
<arg>--disable-x11-backend</arg> <arg>--disable-x11-backend</arg>
@ -360,9 +371,11 @@ How to compile GTK+ itself
<arg>--enable-quartz-backend</arg> <arg>--enable-quartz-backend</arg>
<arg>--disable-quartz-backend</arg> <arg>--disable-quartz-backend</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--enable-introspection=[no/auto/yes]</arg> <arg>--enable-introspection=[no/auto/yes]</arg>
</group> </group>
<sbr/>
<group> <group>
<arg>--enable-gtk2-dependency</arg> <arg>--enable-gtk2-dependency</arg>
<arg>--disable-gtk2-dependency</arg> <arg>--disable-gtk2-dependency</arg>

View File

@ -10,9 +10,13 @@
<bookinfo> <bookinfo>
<title>GTK+ 3 Reference Manual</title> <title>GTK+ 3 Reference Manual</title>
<releaseinfo> <releaseinfo>
This document is for GTK+ 3 library; the latest version can be found online at This document is for the GTK+ 3 library, version &version;.
<ulink role="online-location" url="http://library.gnome.org/devel/gtk/unstable/">http://library.gnome.org/devel/gtk/unstable/</ulink>. The latest version can be found online at
If you're looking for the older GTK+ 2 series of libraries, they can be found under their version numbers; for example, 2.22 is available at <ulink role="online-location" url="http://library.gnome.org/devel/gtk/2.22/">http://library.gnome.org/devel/gtk/2.22/</ulink>. <ulink role="online-location" url="http://library.gnome.org/devel/gtk/unstable/">http://library.gnome.org/devel/gtk/unstable/</ulink>.
If you are looking for the older GTK+ 2 series of libraries,
they can be found under their version numbers; for example,
2.22 is available at
<ulink role="online-location" url="http://library.gnome.org/devel/gtk/2.22/">http://library.gnome.org/devel/gtk/2.22/</ulink>.
</releaseinfo> </releaseinfo>
</bookinfo> </bookinfo>

View File

@ -5,13 +5,14 @@
<refentry id="gtk-query-immodules-3.0"> <refentry id="gtk-query-immodules-3.0">
<refmeta> <refmeta>
<refentrytitle>gtk-query-immodules-3.0</refentrytitle> <refentrytitle>gtk-query-immodules-3.0</refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
<refmiscinfo class="manual">User Commands</refmiscinfo>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>gtk-query-immodules-3.0</refname> <refname>gtk-query-immodules-3.0</refname>
<refpurpose>Input method module registration utility</refpurpose> <refpurpose>Input method module registration utility</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
@ -38,8 +39,8 @@ may be absolute or relative paths.
</para> </para>
<para> <para>
Normally, the output of <command>gtk-query-immodules-3.0</command> is written Normally, the output of <command>gtk-query-immodules-3.0</command> is written
to <filename><replaceable>libdir</replaceable>gtk-3.0/3.0.0/immodules.cache</filename>, where GTK+ looks for it by default. If it is written to some other to <filename><replaceable>libdir</replaceable>/gtk-3.0/3.0.0/immodules.cache</filename>, where GTK+ looks for it by default. If it is written to some other
location, the environment variable <link linkend="GTK_IM_MODULE_FILE"><envar>GTK_IM_MODULE_FILE</envar></link> location, the environment variable <link linkend="gtk-im-module-file"><envar>GTK_IM_MODULE_FILE</envar></link>
can be set to point GTK+ at the file. can be set to point GTK+ at the file.
</para> </para>
</refsect1> </refsect1>
@ -56,7 +57,7 @@ can be set to point GTK+ at the file.
<refsect1><title>Environment</title> <refsect1><title>Environment</title>
<para> <para>
The environment variable <link linkend="GTK_PATH"><envar>GTK_PATH</envar></link> The environment variable <link linkend="gtk-path"><envar>GTK_PATH</envar></link>
can be used to prepend directories to the input method module path. can be used to prepend directories to the input method module path.
</para> </para>
</refsect1> </refsect1>

View File

@ -5,13 +5,14 @@
<refentry id="gtk-update-icon-cache"> <refentry id="gtk-update-icon-cache">
<refmeta> <refmeta>
<refentrytitle>gtk-update-icon-cache</refentrytitle> <refentrytitle>gtk-update-icon-cache</refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
<refmiscinfo class="manual">User Commands</refmiscinfo>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname>gtk-update-icon-cache</refname> <refname>gtk-update-icon-cache</refname>
<refpurpose>Icon theme caching utility</refpurpose> <refpurpose>Icon theme caching utility</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
@ -20,28 +21,29 @@
<arg choice="opt">--force</arg> <arg choice="opt">--force</arg>
<arg choice="opt">--ignore-theme-index</arg> <arg choice="opt">--ignore-theme-index</arg>
<arg choice="opt">--index-only</arg> <arg choice="opt">--index-only</arg>
<arg choice="opt">--source<arg>name</arg></arg> <arg choice="opt">--source <arg choice="plain"><replaceable>NAME</replaceable></arg></arg>
<arg choice="opt">--quiet</arg> <arg choice="opt">--quiet</arg>
<arg choice="opt">--validate</arg> <arg choice="opt">--validate</arg>
<arg choice="req">iconpath</arg> <arg choice="plain"><replaceable>PATH</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1><title>Description</title> <refsect1><title>Description</title>
<para> <para>
<command>gtk-update-icon-cache</command> creates mmap()able cache <command>gtk-update-icon-cache</command> creates mmapable cache
files for icon themes. files for icon themes.
</para> </para>
<para> <para>
It expects to be given the path to a icon theme directory containing an It expects to be given the <replaceable>PATH</replaceable> to a icon theme
<filename>index.theme</filename>, e.g. <filename>/usr/share/icons/hicolor</filename>, directory containing an <filename>index.theme</filename>, e.g.
and writes a <filename>icon-theme.cache</filename> containing cached <filename>/usr/share/icons/hicolor</filename>, and writes a
information about the icons in the directory tree below the given directory. <filename>icon-theme.cache</filename> containing cached information about
the icons in the directory tree below the given directory.
</para> </para>
<para> <para>
GTK+ can use the cache files created by <command>gtk-update-icon-cache</command> GTK+ can use the cache files created by <command>gtk-update-icon-cache</command>
to avoid a lot of system call and disk seek overhead when the application to avoid a lot of system call and disk seek overhead when the application
starts. Since the format of the cache files allows them to be mmap()ed starts. Since the format of the cache files allows them to be mmaped
shared between multiple applications, the overall memory consumption is shared between multiple applications, the overall memory consumption is
reduced as well. reduced as well.
</para> </para>
@ -59,8 +61,8 @@
<varlistentry> <varlistentry>
<term>--ignore-theme-index</term> <term>--ignore-theme-index</term>
<term>-t</term> <term>-t</term>
<listitem><para>Don't check for the existence of 'index.theme' in the icon <listitem><para>Don't check for the existence of <filename>index.theme</filename>
theme directory. Without this option, <command>gtk-update-icon-cache</command> in the icon theme directory. Without this option, <command>gtk-update-icon-cache</command>
refuses to create an icon cache in a directory which does not appear to refuses to create an icon cache in a directory which does not appear to
be the toplevel directory of an icon theme. be the toplevel directory of an icon theme.
</para></listitem> </para></listitem>
@ -77,7 +79,7 @@
<term>--source</term> <term>--source</term>
<term>-c</term> <term>-c</term>
<listitem><para>Output a C header file declaring a constant <listitem><para>Output a C header file declaring a constant
<replaceable>name</replaceable> with the contents of the icon <replaceable>NAME</replaceable> with the contents of the icon
cache.</para></listitem> cache.</para></listitem>
</varlistentry> </varlistentry>

View File

@ -35,11 +35,11 @@ How do I get started with GTK+?
</para></question> </para></question>
<answer><para> <answer><para>
The GTK+ <ulink url="http://www.gtk.org">website</ulink> offers a The GTK+ <ulink url="http://www.gtk.org">website</ulink> offers some
<ulink url="http://www.gtk.org/tutorial">tutorial</ulink> and a <ulink url="http://www.gtk.org/documentation">tutorials</ulink> and other
<ulink url="http://www.gtk.org/faq">FAQ</ulink>. More documentation ranging documentation (most of it about GTK+ 2.x, but mostly still applicable).
from whitepapers to online books can be found at the More documentation ranging from whitepapers to online books can be found at
<ulink url="http://library.gnome.org/devel/">GNOME developer's site</ulink>. the <ulink url="http://library.gnome.org/devel/">GNOME developer's site</ulink>.
After studying these materials you should be well prepared to come back to After studying these materials you should be well prepared to come back to
this reference manual for details. this reference manual for details.
</para></answer> </para></answer>

View File

@ -205,7 +205,7 @@ additional environment variables.
</warning> </warning>
</formalpara> </formalpara>
<formalpara> <formalpara id="gtk-path">
<title><envar>GTK_PATH</envar></title> <title><envar>GTK_PATH</envar></title>
<para> <para>
@ -265,7 +265,7 @@ additional environment variables.
</para> </para>
</formalpara> </formalpara>
<formalpara id="im-module-file"> <formalpara id="gtk-im-module-file">
<title><envar>GTK_IM_MODULE_FILE</envar></title> <title><envar>GTK_IM_MODULE_FILE</envar></title>
<para> <para>