1<?xml version="1.0"?>
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4]>
5<refentry id="gtk4-broadwayd">
6
7<refentryinfo>
8  <title>gtk4-broadwayd</title>
9  <productname>GTK</productname>
10  <authorgroup>
11    <author>
12      <contrib>Developer</contrib>
13      <firstname>Alexander</firstname>
14      <surname>Larsson</surname>
15    </author>
16  </authorgroup>
17</refentryinfo>
18
19<refmeta>
20  <refentrytitle>gtk4-broadwayd</refentrytitle>
21  <manvolnum>1</manvolnum>
22  <refmiscinfo class="manual">User Commands</refmiscinfo>
23</refmeta>
24
25<refnamediv>
26  <refname>gtk4-broadwayd</refname>
27  <refpurpose>Broadway display server</refpurpose>
28</refnamediv>
29
30<refsynopsisdiv>
31<cmdsynopsis>
32<command>gtk4-broadwayd</command>
33<arg choice="opt">--port <replaceable>PORT</replaceable></arg>
34<arg choice="opt">--address <replaceable>ADDRESS</replaceable></arg>
35<arg choice="opt">--unixsocket <replaceable>ADDRESS</replaceable></arg>
36<arg choice="opt"><replaceable>:DISPLAY</replaceable></arg>
37</cmdsynopsis>
38</refsynopsisdiv>
39
40<refsect1><title>Description</title>
41<para>
42<command>gtk4-broadwayd</command> is a display server for the Broadway
43GDK backend. It allows multiple GTK applications to display their
44windows in the same web browser, by connecting to gtk4-broadwayd.
45</para>
46<para>
47When using gtk4-broadwayd, specify the display number to use, prefixed
48with a colon, similar to X. The default display number is 0.
49<programlisting>
50gtk4-broadwayd :5
51</programlisting>
52Then point your web browser at <literal>http://127.0.0.1:8085</literal>.
53Start your applications like this:
54<programlisting>
55GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo
56</programlisting>
57</para>
58</refsect1>
59
60<refsect1><title>Options</title>
61<variablelist>
62  <varlistentry>
63    <term>--port</term>
64    <listitem><para>Use <replaceable>PORT</replaceable> as the HTTP
65      port, instead of the default 8080 + (<replaceable>DISPLAY</replaceable> - 1).
66      </para></listitem>
67  </varlistentry>
68  <varlistentry>
69    <term>--address</term>
70    <listitem><para>Use <replaceable>ADDRESS</replaceable> as the HTTP
71      address, instead of the default <literal>http://127.0.0.1:<replaceable>PORT</replaceable></literal>.
72      </para></listitem>
73  </varlistentry>
74  <varlistentry>
75    <term>--unixsocket</term>
76    <listitem><para>Use <replaceable>ADDRESS</replaceable> as the unix domain socket
77      address. This option overrides <literal>--address</literal> and <literal>--port</literal>.
78      It is available only on Unix-like systems.
79      </para></listitem>
80  </varlistentry>
81</variablelist>
82</refsect1>
83
84</refentry>
85