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!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!216.166.106.85.MISMATCH!Xl.tags.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!buffer2.nntp.dca1.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 18 Aug 2015 12:02:33 -0500 Subject: Re: GUI for Ada (GPS with GtkAda or GtkGlade GUI Builder) Newsgroups: comp.lang.ada References: From: Norman Worth Date: Tue, 18 Aug 2015 11:02:33 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-FTLM/X9IUhK1K2+Ao46lBXkir60Dl6z2+okFUofcbMqg54j9a5zOB182gp6xcMWiTiqo0wwugpu+f0l!zTjXLmPJD2ruBcBnyyDiZUZ4H9uD42rts2ChJJnnQ/5LANyNhPKuzsUKxO0DL3fqz6xpI4ye54g= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2562 Xref: news.eternal-september.org comp.lang.ada:27494 Date: 2015-08-18T11:02:33-06:00 List-Id: On 8/10/2015 4:24 AM, Trish Cayetano wrote: > Hi, > > I am done with the functionality of my Ada program (using GPS) and next is to make it pretty by having a GUI instead of a text based. > > Please advise what shall I use to build the GUI... > > Thank you very much. > This is very much a matter of personal choice. Despite its need to interpret XML, the Glade produced code is reasonably efficient. But I have had some real problems with Glade, probably because I don't really know how to use it. (Documentation is horribly scant.) The Linux version seems to work as far as I can understand it, but the Windows version is not so easy to work with for some reason. Coding directly using the GTK+ library is reasonably easy, but there are important differences from the C version, and the documentation is difficult. You also will have a challenge with program architecture for any non-trivial GTK application. The examples in the GTKAda download package are excellent at showing you how, but it takes a while to understand them. Somebody mentioned using Tcl/Tk for the GUI. A decent binding does exist. I was at the conference where it was introduced several years ago. The results are nice, and Tk is a nice interface to work with, but the code for the Ada/Tk combination is pretty ugly.