From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Where to find Ada GTK example programs to try? Date: Sat, 9 May 2020 11:47:14 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 9 May 2020 09:47:15 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="e78fb8b70bd89a4301726dd351c20267"; logging-data="22743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/45H1atQzn7BliMj0RUooUov/mCEacgLo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:38JH7u571roGGQe85XVqFDMGaJ8= In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58637 Date: 2020-05-09T11:47:14+02:00 List-Id: On 5/8/20 12:21 AM, Nasser M. Abbasi wrote: > > I'd like to try to make GUI with Ada. I assume the best > choice is to use GTK? It depends on your definition of "best". My experience with the GTKAda version of Mine_Detector was that pretty much every time there was a new (minor) version of GTKAda, my code had to change. I have since transitioned it to Gnoga, so I don't know if that's still the case. The GTKAda version of Mine_Detector is at https://github.com/malaise/ada/tree/master/cots/mine where Pascal Malaise has been keeping it working with recent versions of GTKAda, and the Gnoga version is at https://github.com/jrcarter/Mine_Detector (select the "singleton" branch for a meaningful comparison). The GUI is in pkg User_IF. Which you prefer is largely a matter of taste. GTKAda provides your native look and feel, while Gnoga provides your browser's look and feel; most people are comfortable with both. -- Jeff Carter "You can never forget too much about C++." 115