1.0.9 • Published 5 years ago

thecoder08-gui v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

GUI

What is GUI?

GUI is a library that lets you create cross-platform GUI apps with web technologies. Electron but uses less RAM. There also is no node integration.

Installation

Run the command

npm i thecoder08-gui

to install GUI.

Require

Require with this code:

var gui = require('thecoder08-gui');

Syntax

gui.win(url, size);

to create a window.
Where url is a URL pointing to the content of the window.
Where size is an object with properties height and width, the height and width of the window.

gui.menu(menu);

to create the top menu. This only works on MacOS.
Documentation for the menu parameter is available here.

gui.tray(path, menu);

to create a tray app. Where path is a filepath to the icon for the app.
Where menu is the menu for the app. It follows the same format as the top menu (see above).

gui.start();

to start the GUI message loop.

Demo

A demo can be found here.

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago