Re: How do we get GTYPE from gobject introspection language bindings

2017-09-30 Thread Stefan Salewski
On Fri, 2017-09-29 at 04:45 +, Gergely Polonkai wrote: > As a side note, STRING probably refers to https://developer.gnome.org > /glib/stable/glib-Strings.html which is a more OO string > implementation. G_TYPE_STRING being gchararray is of more close > relation with C strings (except it

Re: How do we get GTYPE from gobject introspection language bindings

2017-09-28 Thread Gergely Polonkai
As a side note, STRING probably refers to https://developer.gnome.org/glib/stable/glib-Strings.html which is a more OO string implementation. G_TYPE_STRING being gchararray is of more close relation with C strings (except it consists of gchars instead of chars.) On Thu, Sep 28, 2017, 22:34 Stefan

How do we get GTYPE from gobject introspection language bindings

2017-09-28 Thread Stefan Salewski
I am just preparing a listview example for the Nim GTK3 mini tutorial. I followed the Z-Code C example. Was not too difficult. But I got one problem: For working with listviews, we have to provide GTypes, which are numerical values. For C we have the macros like G_TYPE_STRING which for my box