wxn
wxnode
npm i wxnode
wxn

wxnode

node.js wrapper for wxWidgets

by Joe Ferner

0.1.0 (see all)License:MITTypeScript:Not Found
npm i wxnode
Readme

wxNode

node.js wrapper for wxWidgets.

Quick Examples

var wxNode = require("wxnode");

var MyApp = wxNode.wxApp.extend({
  onInit: function() {
    var location = new wxNode.wxPoint(50, 50);
    var size = new wxNode.wxSize(450, 340);
    var frame = new MyFrame("Hello World", location, size);
    frame.show(true);
    this.setTopWindow(frame);
    return true;
  }
});

var MyFrame = wxNode.wxFrame.extend({
  init: function(title, pos, size) {
    this._super(null, -1, title, pos, size);

    this.EVT_CLOSE(this.onClose);
  },

  onClose: function(event) {
    process.exit();
  }
});

var app = new MyApp();
app.run();

Downloads/wk

3

GitHub Stars

39

LAST COMMIT

10yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

3

OPEN PRs

0
VersionTagPublished
0.1.0
latest
10yrs ago
No alternatives found
No tutorials found
Add a tutorial