summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2015-10-07 11:26:53 +0200
committerMatthias Clasen <mclasen@redhat.com>2015-10-10 17:29:15 -0400
commit7aa2bfdc774bde4ac58f18533f03679cd5833421 (patch)
treeed182ec9179feeceaaa8f9446620227a5a647993 /docs
parentbddc524cd84b76d1c25c7700eca9d3a25db30cf6 (diff)
downloadgtk+-7aa2bfdc774bde4ac58f18533f03679cd5833421.tar.gz
Add gtk-query-settings
A small utility binary to query all properties of GtkSettings. https://bugzilla.gnome.org/show_bug.cgi?id=756174
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/Makefile.am6
-rw-r--r--docs/reference/gtk/gtk-docs.sgml1
-rw-r--r--docs/reference/gtk/gtk-query-settings.xml45
3 files changed, 50 insertions, 2 deletions
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
index 24d951c9eb..63cd349c72 100644
--- a/docs/reference/gtk/Makefile.am
+++ b/docs/reference/gtk/Makefile.am
@@ -315,7 +315,8 @@ content_files = \
input-handling.xml \
visual_index.xml \
getting_started.xml \
- overview.xml
+ overview.xml \
+ gtk-query-settings.xml
expand_content_files = \
compiling.sgml \
@@ -499,7 +500,8 @@ man_MANS = \
gtk3-widget-factory.1 \
gtk3-icon-browser.1 \
broadwayd.1 \
- gtk-builder-tool.1
+ gtk-builder-tool.1 \
+ gtk-query-settings.1
if ENABLE_MAN
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml
index 2198a4a9ff..9194c4722d 100644
--- a/docs/reference/gtk/gtk-docs.sgml
+++ b/docs/reference/gtk/gtk-docs.sgml
@@ -406,6 +406,7 @@
<xi:include href="gtk-encode-symbolic-svg.xml" />
<xi:include href="gtk-builder-tool.xml" />
<xi:include href="gtk-launch.xml" />
+ <xi:include href="gtk-query-settings.xml" />
<xi:include href="broadwayd.xml" />
</part>
diff --git a/docs/reference/gtk/gtk-query-settings.xml b/docs/reference/gtk/gtk-query-settings.xml
new file mode 100644
index 0000000000..52f9638e07
--- /dev/null
+++ b/docs/reference/gtk/gtk-query-settings.xml
@@ -0,0 +1,45 @@
+<?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="gtk-query-settings">
+
+<refentryinfo>
+ <title>gtk-query-settings</title>
+ <productname>GTK+</productname>
+ <authorgroup>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Timm</firstname>
+ <surname>Bäder</surname>
+ </author>
+ </authorgroup>
+</refentryinfo>
+
+<refmeta>
+ <refentrytitle>gtk-query-settings</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">User Commands</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>gtk-query-settings</refname>
+ <refpurpose>Utility to print name and value of all GtkSettings properties</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+<command>gtk-query-settings</command>
+<arg choice="opt"><replaceable>PATTERN</replaceable></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>
+ <command>gtk-query-settings</command> prints both name and value of all properties
+ available in the GtkSettings class. Optionally, you can filter which properties
+ to list by specifying a PATTERN.
+</para>
+</refsect1>
+
+</refentry>