[Gtk-sharp-list] GObject Introspection?
tomi.valkeinen at iki.fi
Wed Apr 20 17:58:08 UTC 2016
On 18/04/16 01:10, Stephan Sundermann wrote:
> The problem is that using gobject-introspection the API will not be
> compatible with the current gtk#3 API. This is because
> gobject-introspection data is at a lot of places more accurate than
> parsing the source files with a perl script. gobject-introspection
> has a lot better information like ownership of a variable or information
> on arrays. Especially these two cases are error prone
> in the current gtk-sharp bindings.
> I think it's a lot cleaner to use either the current bindinator tool or
> write a complete new generator that directly takes the
> gobject-introspection data than to use some vala to C# converter.
Well, for what it's worth, I very much think that keeping the current,
unmaintained, old, (dead?) gtk#3 stable is not of much benefit. If we
have an option to get up to date gtk#3 for current gtk versions, which
can be kept up to date, and which is more accurate than the current
gtk#3, I would recommend going there.
The projects that use the current gtk#3 and can't/won't update their
code to work with new gtk#3 can quite easily(?) have their own copy of
the legacy gtk#3 dlls.
More information about the Gtk-sharp-list