Re: How do we get GTYPE from gobject introspection language bindings
- From: Stefan Salewski <mail ssalewski de>
- To: Gergely Polonkai <gergely polonkai eu>, "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: How do we get GTYPE from gobject introspection language bindings
- Date: Sun, 01 Oct 2017 00:14:39 +0200
On Fri, 2017-09-29 at 04:45 +0000, 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 consists of gchars instead of
chars.)
Yes, that can be the reason for my observation that I got a non zero
result for g-type-from-name("GSTRING").
I think guessing the other names is easier, it should be gint, gfloat
or widget names like GtkEntry.
I have added the listview example to the mini tutorial, see bottom of
https://github.com/StefanSalewski/gintro
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]