From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp1-1.free.fr!not-for-mail Newsgroups: comp.lang.ada References: <5f9b0e8a$0$6476$426a34cc@news.free.fr> <5f9d4727$0$24280$426a34cc@news.free.fr> From: DrPi <314@drpi.fr> Subject: Re: Which GUI framework ? Date: Sat, 31 Oct 2020 17:30:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Message-ID: <5f9d9118$0$21592$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 31 Oct 2020 17:30:16 CET NNTP-Posting-Host: 82.65.30.55 X-Trace: 1604161816 news-1.free.fr 21592 82.65.30.55:50906 X-Complaints-To: abuse@proxad.net Xref: reader02.eternal-september.org comp.lang.ada:60523 List-Id: 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.