node-gtk
node-gtk copied to clipboard
GTK+ bindings for NodeJS (via GObject introspection)
Hi i want to install node gtk by npm but some giving error ``` npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade...
As if libsoup3 is installed together with libsoup2, libsoup3 is selected which makes test fails. Signed-off-by: Mateusz Gozdek
```js const WebSocket = require('ws'); const gi = require('node-gtk') const Gtk = gi.require('Gtk', '3.0') const socket = new WebSocket('wss://mppclone.com:8443/'); // socket from multiplayerpiano.com as example socket.on('message', console.log); gi.startLoop(); Gtk.init(); const...
node-gtk is really great, thank you :blue_heart: AFAIK, the only current way to create an ImageSurface is from a PNG, and it has to be a file in the disk....
BigInt-related API fixes and (for now, only) non-breaking changes. - input conversions for BigInt: - all integer types (8, 16, 32, 64) now accept bigint and number - 64-bit integer...
See the commit messages for full change list, but basically - Use typed arrays for output (breaking change) - Allow typed arrays as input for `GArray` / `GByteArray` - Validate...
Currently, we're unable to precisely represent a value bigger than `Number.MAX_SAFE_INTEGER = 2 ** 53`. ```js const gi = require('node-gtk') const Gst = gi.require('Gst', '1.0') console.log(Gst.CLOCK_TIME_NONE) // Should print: 18446744073709551615...
In order to pass the property "icon name" to the constructor of `Gtk.Image`, as an example, the property name must be `icon_name`: ```js new Gtk.Image ({ "icon_name": "folder", }); ```...
Hello! First of all, thanks for the project. I'm having a problem in macOS. While using GTK4, widgets aren't showing up. Example: GTK3 runs as expected. Do you know what...