Name: bedrock-topcube
Owner: Digital Bazaar, Inc.
Description: Bedrock topcube-based GUI
Created: 2015-01-16 19:02:44.0
Updated: 2015-04-08 20:44:38.0
Pushed: 2015-04-08 20:44:36.0
Homepage: null
Size: 216
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A bedrock module that provides a native window for a bedrock Web application. It uses topcube to provide a GTK-based window with an embedded WebKit browser to display the application UI.
Please see topcube for installation instructions regarding any native library dependencies.
install bedrock-topcube
Create a simple bedrock Web application with a native application window:
bedrock = require('bedrock');
ire('bedrock-server');
ire('bedrock-topcube');
ire('bedrock-express');
efault configuration
ig.topcube.name = 'Bedrock';
ig.topcube.width = 1024;
ig.topcube.height = 768;
ock.events.on('bedrock-express.configure.routes', function(app) {
p.get('/', function(req, res) {
res.send('Hello World!');
;
ock.start();
For more documentation on configuration, see config.js.