<?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="gtk4-demo">

<refentryinfo>
  <title>gtk4-demo</title>
  <productname>GTK</productname>
  <authorgroup>
    <author>
      <contrib>Developer</contrib>
      <firstname>Matthias</firstname>
      <surname>Clasen</surname>
    </author>
  </authorgroup>
</refentryinfo>

<refmeta>
  <refentrytitle>gtk4-demo</refentrytitle>
  <manvolnum>1</manvolnum>
  <refmiscinfo class="manual">User Commands</refmiscinfo>
</refmeta>

<refnamediv>
  <refname>gtk4-demo</refname>
  <refpurpose>Demonstrate GTK widgets</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>gtk4-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>gtk4-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>
