No description
Find a file
2011-07-07 20:49:08 -07:00
lib/x11 initial library setup 2011-06-07 14:37:49 +10:00
README.md fixed roadmap link 2011-07-05 11:02:42 +10:00
roadmap.txt Edited roadmap.txt via GitHub 2011-07-07 20:49:08 -07:00

About

X11 protocol client for node.js

status

soon to be released at stage 2) ( see roadmap.txt )

example

var x = require('x11');

var s = x.createConnection().defaultScreen();
var wnd = s.createWindow(10, 10, 100, 100); 
// adding event callback also selects event on server
wnd
  .on('expose', function(exposeevent)
  {
      this.drawString(10, 50, 'Hello');
  })
  .on('keypress', function(keyevent) 
  {
      process.exit(0);
  });

Protocol documentation

Other implementations