From: Fernando Oleo Blanco <irvise_ml@irvise.xyz>
Subject: Re: GtkAda for GTk4?
Date: Mon, 14 Feb 2022 20:50:20 +0100 [thread overview]
Message-ID: <20220214205020.4fbae030@linux.fritz.box> (raw)
In-Reply-To: 32a576a3-933e-4db8-a26d-f506c48f9056n@googlegroups.com
Am Sun, 13 Feb 2022 23:46:01 -0800 (PST)
schrieb Emmanuel Briot <briot.emmanuel@gmail.com>:
> I wrote that python script years ago, when the XML files that
> describe the gtk+ API were actually pretty bad type-wise. The script
> is full of special cases, and very ugly. I don't think anyone should
> use it as a basis for binding to gtk 4, it would likely be much
> better to restart from scratch. I believe the XML files have improved
> significantly since then, and are used by more languages bindings,
> too, so that could likely be simplified.
>
> Emmanuel
This may be worth mentioning...
Fortran also has a GTK binding [1]. It is also autogenerated with a
Python script. As far as I can remember, the change from GTK3 to 4 was
not too big. It did obviously require changes and a bit of elbow
grease, but they had GTK4 support as soon as it became official. The
actual code is present here [2].
This may serve as a comparison or reference for what may be needed. It
is obvious that the Fortran people did have a different starting point
and Fortran is a different language. I am just including it for
reference.
Cheers,
Fer
[1] https://github.com/vmagnin/gtk-fortran
[2] https://github.com/vmagnin/gtk-fortran/tree/gtk4/src
next prev parent reply other threads:[~2022-02-14 19:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-13 15:32 GtkAda for GTk4? Andreas Almroth
2022-02-13 16:46 ` Dmitry A. Kazakov
2022-02-13 20:26 ` Andreas Almroth
2022-02-13 20:45 ` Dmitry A. Kazakov
2022-02-14 7:46 ` Emmanuel Briot
2022-02-14 8:47 ` Andreas Almroth
2022-02-14 19:50 ` Fernando Oleo Blanco [this message]
2022-02-13 22:35 ` Luke A. Guest
2022-02-14 8:45 ` Andreas Almroth
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox