* glib/tmpl/unicode.sgml: Document GNormalizeMode enum.
* glib/tmpl/spawn.sgml: Document GSpawnFlags flags.
* glib/tmpl/error_reporting.sgml: Document GError struct.
* glib/tmpl/main.sgml: Document GMainContext, GSource and
GSourceCallbackFuncs structs.
+2001-11-11 Matthias Clasen <matthiasc@poet.de>
+
+ * glib/tmpl/unicode.sgml: Document GNormalizeMode enum.
+
+ * glib/tmpl/spawn.sgml: Document GSpawnFlags flags.
+
+ * glib/tmpl/error_reporting.sgml: Document GError struct.
+
+ * glib/tmpl/main.sgml: Document GMainContext, GSource and
+ GSourceCallbackFuncs structs.
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* glib/tmpl/messages.sgml, glib/tmpl/unicode.sgml:
<!-- ##### STRUCT GError ##### -->
<para>
-
+The <structname>GError</structname> structure contains
+information about an error that has occurred.
</para>
@domain: error domain, e.g. #G_FILE_ERROR.
To allow multiple independent sets of sources to be handled in
different threads, each source is associated with a #GMainContext.
A #GMainContext can only be running in a single thread, but
- sources can be added and removed from it from other threads.
+ sources can be added to it and removed from it from other threads.
</para>
<para>
Each event source is assigned a priority. The default priority,
<!-- ##### STRUCT GMainLoop ##### -->
<para>
-The #GMainLoop struct is an opaque data type representing the main event loop
-of a GLib or GTK+ application.
+The <structname>GMainLoop</structname> struct is an opaque data type
+representing the main event loop of a GLib or GTK+ application.
</para>
<!-- ##### STRUCT GMainContext ##### -->
<para>
-
+The <structname>GMainContext</structname> struct is an opaque data type
+representing a set of sources to be handled in a main loop.
</para>
<!-- ##### STRUCT GSource ##### -->
<para>
-
+The <structname>GSource</structname> struct is an opaque data type representing
+an event source.
</para>
<!-- ##### STRUCT GSourceCallbackFuncs ##### -->
<para>
-
+The <structname>GSourceCallbackFuncs</structname> struct contains
+functions for managing callback objects.
</para>
-@ref:
-@unref:
-@get:
+@ref: Called when a reference is added to the callback object.
+@unref: Called when a reference to the callback object is dropped.
+@get: Called to extract the callback function and data from the callback object.
<!-- ##### USER_FUNCTION GSourceDummyMarshal ##### -->
<para>
<!-- ##### ENUM GSpawnFlags ##### -->
<para>
-
+Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
</para>
-@G_SPAWN_LEAVE_DESCRIPTORS_OPEN:
-@G_SPAWN_DO_NOT_REAP_CHILD:
-@G_SPAWN_SEARCH_PATH:
-@G_SPAWN_STDOUT_TO_DEV_NULL:
-@G_SPAWN_STDERR_TO_DEV_NULL:
-@G_SPAWN_CHILD_INHERITS_STDIN:
-@G_SPAWN_FILE_AND_ARGV_ZERO:
+@G_SPAWN_LEAVE_DESCRIPTORS_OPEN: the parent's open file descriptors will be
+ inherited by the child; otherwise all descriptors except stdin/stdout/stderr
+ will be closed before calling <function>exec()</function> in the child.
+@G_SPAWN_DO_NOT_REAP_CHILD: the child will not be automatically reaped; you
+ must call <function>waitpid()</function> or handle <literal>SIGCHLD</literal>
+ yourself, or the child will become a zombie.
+@G_SPAWN_SEARCH_PATH: <literal>argv[0]</literal> need not be an absolute path,
+ it will be looked for in the user's <envvar>PATH</envvar>.
+@G_SPAWN_STDOUT_TO_DEV_NULL: the child's standad output will be discarded,
+ instead of going to the same location as the parent's standard output.
+@G_SPAWN_STDERR_TO_DEV_NULL: the child's standard error will be discarded.
+@G_SPAWN_CHILD_INHERITS_STDIN: the child will inherit the parent's standard
+ input (by default, the child's standard input is attached to
+ <filename>/dev/null</filename>).
+@G_SPAWN_FILE_AND_ARGV_ZERO: the first element of <literal>argv</literal> is
+ the file to execute, while the remaining elements are the actual argument
+ vector to pass to the file. Normally g_spawn_async_with_pipes() uses
+ <literal>argv[0]</literal> as the file to execute, and passes all of
+ <literal>argv</literal> to the child.
<!-- ##### USER_FUNCTION GSpawnChildSetupFunc ##### -->
<para>
@max_len:
@end:
@Returns:
-<!-- # Unused Parameters # -->
-@len:
<!-- ##### FUNCTION g_utf8_strup ##### -->
<!-- ##### ENUM GNormalizeMode ##### -->
<para>
-
-</para>
-
-@G_NORMALIZE_DEFAULT:
-@G_NORMALIZE_NFD:
-@G_NORMALIZE_DEFAULT_COMPOSE:
-@G_NORMALIZE_NFC:
-@G_NORMALIZE_ALL:
-@G_NORMALIZE_NFKD:
-@G_NORMALIZE_ALL_COMPOSE:
-@G_NORMALIZE_NFKC:
+A #GNormalizeMode defines how a Unicode string is transformed in a canonical
+form, standardizing such issues as whether a character with an accent is
+represented as a base character and combining accent or as a single precomposed
+character. Unicode strings should generally be normalized before comparing them.
+</para>
+
+@G_NORMALIZE_DEFAULT: standardize differences that do not affect the
+ text content, such as the above-mentioned accent representation.
+@G_NORMALIZE_NFD: another name for %G_NORMALIZE_DEFAULT.
+@G_NORMALIZE_DEFAULT_COMPOSE: like %G_NORMALIZE_DEFAULT, but with composed
+ forms rather than a maximally decomposed form.
+@G_NORMALIZE_NFC: another name for %G_NORMALIZE_DEFAULT_COMPOSE.
+@G_NORMALIZE_ALL: beyond %G_NORMALIZE_DEFAULT also standardize the
+ "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the
+ standard forms (in this case DIGIT THREE). Formatting information may be
+ lost but for most text operations such characters should be considered the
+ same.
+@G_NORMALIZE_NFKD: another name for %G_NORMALIZE_ALL.
+@G_NORMALIZE_ALL_COMPOSE: like %G_NORMALIZE_ALL, but with composed
+ forms rather than a maximally decomposed form.
+@G_NORMALIZE_NFKC: another name for %G_NORMALIZE_ALL_COMPOSE.
<!-- ##### FUNCTION g_utf8_collate ##### -->
<para>