Difference between revisions of "Broadway Gtk3 backend"
m (→Ubuntu) |
m |
||
| Line 24: | Line 24: | ||
* [https://launchpad.net/~malizor/+archive/gtk-broadway Gtk 3.4 -> Gtk 3.8 (Saucy)] | * [https://launchpad.net/~malizor/+archive/gtk-broadway Gtk 3.4 -> Gtk 3.8 (Saucy)] | ||
* [https://launchpad.net/~malizor/+archive/gtk-next-broadway Gtk 3.8] | * [https://launchpad.net/~malizor/+archive/gtk-next-broadway Gtk 3.8] | ||
| + | |||
| + | =Windows= | ||
| + | |||
| + | * [http://www.tarnyko.net/dl/gtk.htm Bundle for Windows] | ||
| + | |||
| + | =MacOS= | ||
[[Category:Developers/General]] | [[Category:Developers/General]] | ||
Revision as of 18:19, 5 January 2014
The GDK Broadway backend provides support for displaying GTK+ applications in a web browser, using HTML5 and web sockets. To run your application in this way, select the Broadway backend by setting GDK_BACKEND=broadway. Then you can make your application appear in a web browser by pointing it at http://127.0.0.1:8080. Note that you need to enable web sockets in your web browser.
Broadway GDK backend allows multiple GTK+ applications to display their windows in the same web browser, by connecting to a Broadway display server.
Contents
Ubuntu
In a terminal, run:
broadwayd
In another terminal, run:
GDK_BACKEND=broadway UBUNTU_MENUPROXY= LIBOVERLAY_SCROLLBAR=0 gramps
Finally, open you Web browser and go to:
http://localhost:8080/
The "UBUNTU_MENUPROXY= LIBOVERLAY_SCROLLBAR=0" is only useful if you use the global-menu and/or overlay-scrollbars. You have to disable them for Broadway, otherwise the program will segfault.
Please see the "broadwayd" manpage for more information.