Rom Grk

Results 163 issues of Rom Grk

see `tests/object__property.js` for `scaleBtn.icons = ...`. in `value.cc`, we should handle the case `gtype == G_TYPE_STRV`

Each time a property is accessed, eg `colorButton.rgba`, a new copy of the boxed is made and returned. Not sure if it's the correct behavior. Boxeds currently act as value-objects....

After #168, we will have 2 internal fields for boxeds: - the boxed instance - the boxed instance info Maybe we should see if some of it is trimmable.

Tasks: - [ ] document the `gi.System` module - [ ] document the `cairo` module - [ ] move the documentation to the wiki

This includes making GValues handling easier: https://mail.gnome.org/archives/commits-list/2011-February/msg07882.html https://bugzilla.gnome.org/show_bug.cgi?id=642914 Good example of how easy we want this to be: https://python-gtk-3-tutorial.readthedocs.io/en/latest/treeview.html https://developer.gnome.org/pygtk/stable/class-gtkliststore.html Ideally, the lines [here](https://github.com/romgrk/node-gtk/blob/master/examples/gtk-tree-view.js#L14-L41) should be hidden from the user....

enhancement

Expose an API to switch off type-checking (e.g. to make production mode faster). It currently runs on each function-call.

enhancement

Check that we're copying the data in `WrapperFromBoxed` if transfer is NONE. Example: gtk_window_get_icon_list (see tests/g_list.js)

Helpers added in https://github.com/romgrk/node-gtk/commit/9ca25e46352982c215d1fd60ece012eb9fda28ca We might want to disable deprecation helpers in production mode.

enhancement