diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-07-31 21:21:08 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-07-31 21:21:08 +0000 |
commit | 7c4e554f13d3b83a08e6eb0357d88a49f123e516 (patch) | |
tree | 59b2149fe91cc6b9b2b4a1f92998b4f31baeaacf /docs/reference/gtk/x11.sgml | |
parent | e7c8ed3d7433f789b7af7cbcc8e35237bbf10baa (diff) | |
download | gtk+-7c4e554f13d3b83a08e6eb0357d88a49f123e516.tar.gz |
Add some forgotten functions.
Sat Jul 31 17:20:22 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add some forgotten functions.
Sat Jul 31 17:18:57 2004 Matthias Clasen <maclas@gmx.de>
* gtk/framebuffer.sgml:
* gtk/windows.sgml:
* gtk/x11.sgml:
* gtk/running.sgml: Reorganize backend-specific cmdline
arguments and environment variables, fill the Windows
sections, add XDG_DATA_HOME, XDG_DATA_DIRS.
Diffstat (limited to 'docs/reference/gtk/x11.sgml')
-rw-r--r-- | docs/reference/gtk/x11.sgml | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/docs/reference/gtk/x11.sgml b/docs/reference/gtk/x11.sgml index 9054e42a91..7431293a8a 100644 --- a/docs/reference/gtk/x11.sgml +++ b/docs/reference/gtk/x11.sgml @@ -27,6 +27,106 @@ see <link linkend="gdk-X-Window-System-Interaction">GDK X Window System interaction</link> in the GDK manual. </para> +<refsect2 id="x11-cmdline"> +<title>X11-specific commandline options</title> + +<para> +The X backend understands some additional command line +arguments. +</para> + +<formalpara> +<title><systemitem>--display <replaceable>display</replaceable></systemitem></title> + +<para> +The name of the X display to open instead of the one specified +in the <envar>DISPLAY</envar> environment variable. +</para> +</formalpara> + +<formalpara> +<title><systemitem>--screen <replaceable>screen_number</replaceable></systemitem></title> + +<para> + The number of the screen within the default display. This overrides + any screen number specified in the display name specified by + by he <systemitem>--display</systemitem> command line option or + the <envar>DISPLAY</envar> environment variable. If this screen + cannot be opened, then GTK+ will fall back to the screen + specified in the display name. This option is not useful + interactively; the intended purposes is that when a program + registers its command line with a <firstterm>session + manager</firstterm> for later restarting, it can save the + screen it is on, without having to worry if it might be + restarted on a different display. +</para> +</formalpara> + +<formalpara> +<title><systemitem>--sync</systemitem></title> + +<para> +Makes all X requests synchronously. This is a useful option for +debugging, but it will slow down the performance considerably. +</para> +</formalpara> + +<formalpara> +<title><systemitem>--gxid-host <replaceable>host</replaceable></systemitem></title> + +<para> +The host to contact the <application>gxid</application> daemon on; overrides +the <link linkend="GXID"><envar>GXID_HOST</envar></link> environment variable. +</para> +</formalpara> + +<formalpara> +<title><systemitem>--gxid-port <replaceable>port</replaceable></systemitem></title> + +<para> +The port for the connection to <application>gxid</application>; overrides +the <link linkend="GXID"><envar>GXID_PORT</envar></link> environment variable. +This option is only available if GTK+ has been configured with +<option>--gdk-target=x11</option>. +</para> +</formalpara> + +</refsect2> + +<refsect2 id="x11-envar"> +<title>X11-specific environment variables</title> + +<para> +The X backend can be influenced with some +additional environment variables. +</para> + +<formalpara id="GXID"> + <title><envar>GXID_HOST</envar>, <envar>GXID_PORT</envar></title> + + <para> + The host and port to contact the <application>gxid</application> daemon + on. <application>gxid</application> is only necessary on X servers which + don't support using the pointer and extension devices at once, and is + only built if GTK+ is configured with <option>--with-xinput=gxi</option>. + The <application>XFree86</application> and <application>Xorg</application> + X servers don't have this + restriction. + </para> +</formalpara> + +<formalpara> + <title><envar>GDK_USE_XFT</envar></title> + + <para> + If this variable is set to 1, GTK+ will use the Pango Xft backend instead + of the X backend when possible (i.e. when the X server supports the XRender + extension and Pango has been built with Xft support). + </para> +</formalpara> + +</refsect2> + </refsect1> <refsect1 id="gtk-X11-arch"> @@ -96,6 +196,11 @@ window managers <emphasis>will</emphasis> ignore certain requests from time to time, in the interests of good user interface. </para> +<!-- +May also want to explain DESKTOP_STARTUP_ID here. +http://www.freedesktop.org/Standards/startup-notification-spec +--> + </refsect2> </refsect1> |