windows-window-node-plugin

5.6.0 • Public • Published

Windows window node plugin

node plugin to create desktop windows for windows os

basic example

let Repeater = require('function-repeater');
let {Window} = require('../src/index');
 
let window = new Window();
window.makeWindow();
window.setGeometry(100, 100, 250, 40);
window.setLines(2, 20);
window.show();
window.setLine(0, "hi there !!");
 
let i = 0;
let increment = new Repeater(
    () => window.setLine(1, "" + i++),
    1000, true);
 
new Repeater(
    update => {
        window.update();
        if (!window.hasWindow) {
            increment.stop();
            update.stop();
        }
    }, 5, true);

Package Sidebar

Install

npm i windows-window-node-plugin

Weekly Downloads

6

Version

5.6.0

License

ISC

Unpacked Size

78.6 kB

Total Files

34

Last publish

Collaborators

  • mahhov