comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <david@botton.com>
Subject: Gnoga + Electron + Node.js = Cross Platform GUIs
Date: Thu, 31 Dec 2015 11:13:55 -0800 (PST)
Date: 2015-12-31T11:13:55-08:00	[thread overview]
Message-ID: <3a0f3d2b-4153-4689-b690-5ee94540a986@googlegroups.com> (raw)

Gnoga using the Electron (http://electron.atom.io/) project offers full cross platform native desktop GUIs and access to all of Node.js

The support is in git HEAD for Gnoga

Make sure you have node.js installed and npm on your path

Run in gnoga's root 'make electron' and this will install deps/electron-quick-start and copy in electron.html -> index.html and electron_boot.js to the electron-quick-start directory

Then start up a gnoga app, say bin/tutorial1 or what have you and then run in deps/electron-quick-start  - npm start

You can modify main.js to remove the developer tools in deps/electron-quick-start/main.js

Using this setup up you can easily bind to _any_ Node.js APIs and installed modules plus any browser based JS.

I will be adding Gnoga bindings to all the Electron desktop integration APIs for full native experiences on Linux, Mac and Windows in the near future and writing up how to more tightly integrate for release a single gnoga/electron app. (As a result I will be deprecating the OS X native support. I will leave the Gtk native example for those wishing to see how to mix Gtk with Gnoga).

David Botton

             reply	other threads:[~2015-12-31 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-31 19:13 David Botton [this message]
2015-12-31 23:55 ` Gnoga + Electron + Node.js = Cross Platform GUIs Shark8
2016-01-02 21:07 ` ogpual
2016-01-03  1:09   ` David Botton
2016-01-10 14:24 ` Michael Erdmann
2016-01-10 18:40   ` David Botton
2016-01-12 14:13 ` Jere
2016-01-12 19:53   ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox