From 8b7cfa448a59f7b44806a31515fce5e4f5d324cf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 11 Mar 2012 14:23:53 -0400 Subject: [PATCH] Add some docs for the wayland backend This commit also includes some tweaks to the other backend-specific docs. --- docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/osx.sgml | 4 ++-- docs/reference/gtk/running.sgml | 15 ++++++++++-- docs/reference/gtk/wayland.xml | 40 ++++++++++++++++++++++++++++++++ docs/reference/gtk/windows.sgml | 5 ++-- 6 files changed, 60 insertions(+), 6 deletions(-) create mode 100644 docs/reference/gtk/wayland.xml diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am index 836ed4e232..47bc96dcd8 100644 --- a/docs/reference/gtk/Makefile.am +++ b/docs/reference/gtk/Makefile.am @@ -130,6 +130,7 @@ content_files = \ objects_grouped.sgml \ osx.sgml \ broadway.xml \ + wayland.xml \ question_index.sgml \ resources.sgml \ text_widget.sgml \ diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml index 70a34d7820..76881b170a 100644 --- a/docs/reference/gtk/gtk-docs.sgml +++ b/docs/reference/gtk/gtk-docs.sgml @@ -29,6 +29,7 @@ + diff --git a/docs/reference/gtk/osx.sgml b/docs/reference/gtk/osx.sgml index 0f09097dcc..41c6d87b41 100644 --- a/docs/reference/gtk/osx.sgml +++ b/docs/reference/gtk/osx.sgml @@ -20,13 +20,13 @@ OS X-specific aspects of using GTK+ Using GTK+ on Mac OS X -The Mac OS X port of GTK+ is an implementation of GDK (and therefore GTK+) +The Mac OS X port of GTK+ is an implementation of GDK (and therefore GTK+) on top of the Quarz API. Currently, the Mac OS X port does not use any additional commandline options -or environment variables. +or environment variables. diff --git a/docs/reference/gtk/running.sgml b/docs/reference/gtk/running.sgml index 190234ea2a..147637e42d 100644 --- a/docs/reference/gtk/running.sgml +++ b/docs/reference/gtk/running.sgml @@ -422,8 +422,9 @@ nevertheless. <envar>GDK_BACKEND</envar> - If set, selects the GDK backend to use. Selecting a backend requires that GTK is compiled - with support for that backend. The following backends can be selected: + If set, selects the GDK backend to use. Selecting a backend requires that + GTK+ is compiled with support for that backend. The following backends can + be selected: @@ -441,6 +442,16 @@ nevertheless. Selects the native backend for connecting to X11 servers. + + broadway + Selects the HTML5 backend. + + + + wayland + Selects the Wayland backend for connecting to Wayland display servers. + + For more information about selecting backends, see the gdk_display_manager_get() function. diff --git a/docs/reference/gtk/wayland.xml b/docs/reference/gtk/wayland.xml new file mode 100644 index 0000000000..19fbcb5416 --- /dev/null +++ b/docs/reference/gtk/wayland.xml @@ -0,0 +1,40 @@ + + + + +Using GTK+ with Wayland +3 +GTK Library + + + +Using GTK+ with Wayland + +Wayland-specific aspects of using GTK+ + + + + +Using GTK+ with Wayland + + +The GDK Wayland backend provides support for running GTK+ applications +under the Wayland display server. To run your application in this way, +select the Wayland backend by setting GDK_BACKEND=wayland. + + + +Currently, the Wayland backend does not use any additional commandline +options or environment variables. + + + +For up-to-date information about the current status of this backend, see +the project page. + + + + + diff --git a/docs/reference/gtk/windows.sgml b/docs/reference/gtk/windows.sgml index 3de34adf45..bea2fbe084 100644 --- a/docs/reference/gtk/windows.sgml +++ b/docs/reference/gtk/windows.sgml @@ -20,8 +20,9 @@ Windows-specific aspects of using GTK+ Using GTK+ on Windows -The Windows port of GTK+ is an implementation of GDK (and therefore GTK+) -on top of the Win32 API. +The Windows port of GTK+ is an implementation of GDK (and therefore GTK+) +on top of the Win32 API. When compiling GTK+ on Windows, this backend is +the default.