1<?xml version="1.0"?>
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4]>
5<refentry id="gtk4-demo">
6
7<refentryinfo>
8  <title>gtk4-demo</title>
9  <productname>GTK</productname>
10  <authorgroup>
11    <author>
12      <contrib>Developer</contrib>
13      <firstname>Matthias</firstname>
14      <surname>Clasen</surname>
15    </author>
16  </authorgroup>
17</refentryinfo>
18
19<refmeta>
20  <refentrytitle>gtk4-demo</refentrytitle>
21  <manvolnum>1</manvolnum>
22  <refmiscinfo class="manual">User Commands</refmiscinfo>
23</refmeta>
24
25<refnamediv>
26  <refname>gtk4-demo</refname>
27  <refpurpose>Demonstrate GTK widgets</refpurpose>
28</refnamediv>
29
30<refsynopsisdiv>
31<cmdsynopsis>
32<command>gtk4-demo</command>
33<arg choice="opt">--help</arg>
34<arg choice="opt">--version</arg>
35<arg choice="opt">--list</arg>
36<arg choice="opt">--run <replaceable>EXAMPLE</replaceable></arg>
37<arg choice="opt">--autoquit</arg>
38</cmdsynopsis>
39</refsynopsisdiv>
40
41<refsect1><title>Description</title>
42<para>
43<command>gtk4-demo</command> is a collection of examples.
44Its purpose is to demonstrate many GTK widgets in a form
45that is useful to application developers.
46</para>
47<para>
48The application shows the source code for each example, as well as
49other used resources, such as ui files and icons.
50</para>
51</refsect1>
52
53<refsect1><title>Options</title>
54  <para>The following options are understood:</para>
55  <variablelist>
56    <varlistentry>
57    <term><option>-h</option>, <option>--help</option></term>
58      <listitem><para>Show help options</para></listitem>
59    </varlistentry>
60    <varlistentry>
61    <term><option>--version</option></term>
62      <listitem><para>Show program version</para></listitem>
63    </varlistentry>
64    <varlistentry>
65    <term><option>--list</option></term>
66      <listitem><para>List available examples.</para></listitem>
67    </varlistentry>
68    <varlistentry>
69    <term><option>-run <replaceable>EXAMPLE</replaceable></option></term>
70      <listitem><para>Run the named example. Use <option>--list</option> to
71        see the available examples.</para></listitem>
72    </varlistentry>
73    <varlistentry>
74    <term><option>--autoquit</option></term>
75      <listitem><para>Quit after a short timeout. This is intended for use
76        with <option>--run</option>, e.g. when profiling.</para></listitem>
77    </varlistentry>
78  </variablelist>
79</refsect1>
80
81</refentry>
82