summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/gtk4-demo.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/gtk/gtk4-demo.xml')
-rw-r--r--docs/reference/gtk/gtk4-demo.xml76
1 files changed, 76 insertions, 0 deletions
diff --git a/docs/reference/gtk/gtk4-demo.xml b/docs/reference/gtk/gtk4-demo.xml
new file mode 100644
index 0000000000..d2eacb69b5
--- /dev/null
+++ b/docs/reference/gtk/gtk4-demo.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+<refentry id="gtk3-demo">
+
+<refentryinfo>
+ <title>gtk3-demo</title>
+ <productname>GTK+</productname>
+ <authorgroup>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Matthias</firstname>
+ <surname>Clasen</surname>
+ </author>
+ </authorgroup>
+</refentryinfo>
+
+<refmeta>
+ <refentrytitle>gtk3-demo</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">User Commands</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>gtk3-demo</refname>
+ <refpurpose>Demonstrate GTK+ widgets</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+<command>gtk3-demo</command>
+<arg choice="opt">--help</arg>
+<arg choice="opt">--list</arg>
+<arg choice="opt">--run <replaceable>EXAMPLE</replaceable></arg>
+<arg choice="opt">--autoquit</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>
+<command>gtk3-demo</command> is a collection of examples.
+Its purpose is to demonstrate many GTK+ widgets in a form
+that is useful to application developers.
+</para>
+<para>
+The application shows the source code for each example, as well as
+other used resources, such as ui files and icons.
+</para>
+</refsect1>
+
+<refsect1><title>Options</title>
+ <para>The following options are understood:</para>
+ <variablelist>
+ <varlistentry>
+ <term><option>-h</option>, <option>--help</option></term>
+ <listitem><para>Show help options</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--list</option></term>
+ <listitem><para>List available examples.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-run <replaceable>EXAMPLE</replaceable></option></term>
+ <listitem><para>Run the named example. Use <option>--list</option> to
+ see the available examples.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--autoquit</option></term>
+ <listitem><para>Quit after a short timeout. This is intended for use
+ with <option>--run</option>, e.g. when profiling.</para></listitem>
+ </varlistentry>
+ </variablelist>
+</refsect1>
+
+</refentry>