comp.lang.ada
 help / color / mirror / Atom feed
From: DrPi <314@drpi.fr>
Subject: Re: Which GUI framework ?
Date: Sat, 31 Oct 2020 17:30:15 +0100	[thread overview]
Message-ID: <5f9d9118$0$21592$426a74cc@news.free.fr> (raw)
In-Reply-To: <rnjqsp$11i3$1@gioia.aioe.org>


Le 31/10/2020 à 15:03, Luke A. Guest a écrit :
> On 31/10/2020 11:14, DrPi wrote:
>> Le 30/10/2020 à 10:52, Luke A. Guest a écrit :
>>>>
>>>> Any other binding to wxWidgets that I'm not aware of ?
>>>
>>> No, both efforts were abandoned as it was too much work. I have a 
>>> start to a generator, but like I said, it's not happening right now.
>>>
>>> Luke.
>>
>> Binding to C++ libraries is a problem.
> 
> Yup, see my example of how to do it here: 
> https://github.com/Lucretia/test_binding

For a Python program, I've done something similar but much simpler. A 
very simple C library interfaces to C++ library. The Python program 
accesses the C library through cTypes.

> 
>> In python world, there are many ways to achieve this.
>> If I remember well, the author of wxPython has written its own binding 
>> system for version 3. Before version 3, he used a "standard" one but 
>> with many manual patches.
> 
> I spoke with Robin many times about how to do this. My generator does 
> what his does in getting the interfaces read in.
> 
>> PySide (Python binding for Qt) authors also have written their own 
>> binding system after using one that was not fulfilling their needs.
>>
>> It's a pity since I like wxWidgets way of working.
> 
> Yeah, same here.
> 
> I'm considering setting up gh sponsors, but if I cannot get enough there 
> to keep me afloat, it's a non-starter. Maybe If I can get a contract 
> elsewhere first?
> 
Do you know SWIG (http://swig.org/) ?
SWIG manages C++ bindings to many languages... but not Ada. However, 
SWIG tools might be of interest, like the tree parser outputting xml.
Maybe SWIG can be modified to manage Ada. Just an idea. But not my skills.

  reply	other threads:[~2020-10-31 16:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 18:48 Which GUI framework ? DrPi
2020-10-29 19:23 ` Dmitry A. Kazakov
2020-10-29 20:45   ` Randy Brukardt
2020-10-30  9:38     ` DrPi
2020-10-30  9:37   ` DrPi
2020-10-30  9:54     ` Dmitry A. Kazakov
2020-10-30 11:36       ` Chris M Moore
2020-10-31 10:58         ` DrPi
2020-10-30 12:31     ` Jeffrey R. Carter
2020-10-31 11:20       ` DrPi
2020-10-30  9:52 ` Luke A. Guest
2020-10-31 11:14   ` DrPi
2020-10-31 14:03     ` Luke A. Guest
2020-10-31 16:30       ` DrPi [this message]
2020-10-31 16:35         ` Luke A. Guest
2020-10-31 17:48           ` DrPi
2020-11-11  1:43 ` Azathoth Hastur
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox