node-gir
node-gir copied to clipboard
Node bindings to libgirepository
https://github.com/Place1/node-gir/blob/109efbd129cfb415bacd34e5b60e5d0dcab2892d/src/closure.cpp#L70-L75 Here, wouldn't it be better to just use the part before `::` to find the signal name? E.g. if passed `notify::label`, just look for the signal called `notify`?
```js /* * gir-throw.js */ const gi = require('node-gir') const Gtk = gi.Gtk // main program window const window = new Gtk.Window({ type : Gtk.WindowType.TOPLEVEL }) const urlBar = new...
Hey! I'm the maintainer of https://github.com/romgrk/node-gtk (I've recently taken over the npm `node-gtk` package, which was originally owned by WebReflection/node-gtk). So I stumbled upon this fork of node-gir and I...
So, when I run `npm run lint` it fails. However when I copy/paste the clang-format command manually, it works. Is anyone else experiencing this same issue. Also, it seems C...
The GJS GI implementation allows users to access GI libraries like the following: ```javascript const GObject = imports.gi.GObject; const Gtk = imports.gi.Gtk; ``` Similarly, in Python GI libraries are imported...
When JS calls native functions but passes incorrect arguments how strict should the bindings be? example: ```javascript const window = new Gtk.Window(); window.setTitle("hello"); // valid window.setTitle(["hello"]); // invalid ``` Should...
Developers who wish to use `node-gir` via `npm install node-gir` must compile the native code locally with `node-gyp`. This happens automatically but is a pain if they don't have all...
Related test case: https://github.com/Place1/node-gir/blob/6ab37ab6e1fd383b7c8a8514b8dc3219f9faa568/__tests__/object_property.test.js#L54 output: ``` expect(received).toEqual(expected) Expected value to equal: 0.33 Received: 0.32941176470588235 ``` It would be interesting to get some more eyes on this issue. I've been using...