2013-01-24 22:54:13 +00:00
|
|
|
<?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" [
|
|
|
|
]>
|
2016-11-18 18:40:37 +00:00
|
|
|
<refentry id="gtk4-broadwayd">
|
2013-01-24 22:54:13 +00:00
|
|
|
|
|
|
|
<refentryinfo>
|
2016-11-18 18:40:37 +00:00
|
|
|
<title>gtk4-broadwayd</title>
|
2019-02-05 09:14:31 +00:00
|
|
|
<productname>GTK</productname>
|
2013-01-24 22:54:13 +00:00
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<contrib>Developer</contrib>
|
|
|
|
<firstname>Alexander</firstname>
|
|
|
|
<surname>Larsson</surname>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
</refentryinfo>
|
|
|
|
|
|
|
|
<refmeta>
|
2016-11-18 18:40:37 +00:00
|
|
|
<refentrytitle>gtk4-broadwayd</refentrytitle>
|
2013-01-24 22:54:13 +00:00
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
<refmiscinfo class="manual">User Commands</refmiscinfo>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
2016-11-18 18:40:37 +00:00
|
|
|
<refname>gtk4-broadwayd</refname>
|
2013-01-24 22:54:13 +00:00
|
|
|
<refpurpose>Broadway display server</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2016-11-18 18:40:37 +00:00
|
|
|
<command>gtk4-broadwayd</command>
|
2013-01-24 22:54:13 +00:00
|
|
|
<arg choice="opt">--port <replaceable>PORT</replaceable></arg>
|
|
|
|
<arg choice="opt">--address <replaceable>ADDRESS</replaceable></arg>
|
2014-08-14 11:30:00 +00:00
|
|
|
<arg choice="opt">--unixsocket <replaceable>ADDRESS</replaceable></arg>
|
2013-01-24 22:54:13 +00:00
|
|
|
<arg choice="opt"><replaceable>:DISPLAY</replaceable></arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1><title>Description</title>
|
|
|
|
<para>
|
2016-11-18 18:40:37 +00:00
|
|
|
<command>gtk4-broadwayd</command> is a display server for the Broadway
|
2019-02-05 09:14:31 +00:00
|
|
|
GDK backend. It allows multiple GTK applications to display their
|
2016-11-18 18:40:37 +00:00
|
|
|
windows in the same web browser, by connecting to gtk4-broadwayd.
|
2013-01-24 22:54:13 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2016-11-18 18:40:37 +00:00
|
|
|
When using gtk4-broadwayd, specify the display number to use, prefixed
|
2016-04-10 06:19:20 +00:00
|
|
|
with a colon, similar to X. The default display number is 0.
|
2013-01-24 22:54:13 +00:00
|
|
|
<programlisting>
|
2016-11-18 18:40:37 +00:00
|
|
|
gtk4-broadwayd :5
|
2013-01-24 22:54:13 +00:00
|
|
|
</programlisting>
|
2016-04-10 06:19:20 +00:00
|
|
|
Then point your web browser at <literal>http://127.0.0.1:8085</literal>.
|
2013-01-24 22:54:13 +00:00
|
|
|
Start your applications like this:
|
|
|
|
<programlisting>
|
2018-05-07 18:43:18 +00:00
|
|
|
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo
|
2013-01-24 22:54:13 +00:00
|
|
|
</programlisting>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Options</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>--port</term>
|
|
|
|
<listitem><para>Use <replaceable>PORT</replaceable> as the HTTP
|
|
|
|
port, instead of the default 8080 + (<replaceable>DISPLAY</replaceable> - 1).
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>--address</term>
|
|
|
|
<listitem><para>Use <replaceable>ADDRESS</replaceable> as the HTTP
|
|
|
|
address, instead of the default <literal>http://127.0.0.1:<replaceable>PORT</replaceable></literal>.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
2014-08-14 11:30:00 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--unixsocket</term>
|
|
|
|
<listitem><para>Use <replaceable>ADDRESS</replaceable> as the unix domain socket
|
|
|
|
address. This option overrides <literal>--address</literal> and <literal>--port</literal>.
|
|
|
|
It is available only on Unix-like systems.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
2013-01-24 22:54:13 +00:00
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
</refentry>
|