comp.lang.ada
 help / color / mirror / Atom feed
* Gnoga + Electron + Node.js = Cross Platform GUIs
@ 2015-12-31 19:13 David Botton
  2015-12-31 23:55 ` Shark8
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: David Botton @ 2015-12-31 19:13 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-01-12 19:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-31 19:13 Gnoga + Electron + Node.js = Cross Platform GUIs David Botton
2015-12-31 23:55 ` 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

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