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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,20dd8ed49a092517 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.216.0.67 with SMTP id 45mr214372wea.4.1348190011529; Thu, 20 Sep 2012 18:13:31 -0700 (PDT) Path: q11ni3492521wiw.1!nntp.google.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.13.MISMATCH!feed.xsnews.nl!border-3.ams.xsnews.nl!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Qt or Gtk? (from an Ada perspective) Date: Mon, 17 Sep 2012 18:22:52 +0200 Organization: cbb software GmbH Message-ID: References: <99575344-c301-4af2-9155-b6577bfb1ca6@googlegroups.com> <106b2629-3428-4290-8c73-8f6b91b123a1@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-09-17T18:22:52+02:00 List-Id: On Mon, 17 Sep 2012 08:50:52 -0700 (PDT), Ludovic Brenta wrote: > Correct and in addition, the Windows API is just as mind-boggingly > complex as either Qt or GtkAda. Windows GDI is much lower level comparing to GTK, but surprisingly simpler to use, especially because it is natively multi-tasking. Though some things are simpler with GTK, e.g. containers. > GUI programming is complex no > matter how you look at it. That is because of design faults. There are many contradictory requirements. Plus, in the case of GTK and Win32, the API become extremely messy when defined using pure procedural decomposition, which is the only way to get it in C. I think that modern languages are immature to deal with GUI programming. That includes Ada, alas. Typically a GUI is decomposed along multiple axes: visual containment, events handling, application logic constraints, to name few. No language supports multiple hierarchies of types needed to describe such relationships sanely and to reuse the corresponding code. > So, I'd vote for GtkAda. That makes two of us. (:-)) But the be honest the choice was quite arbitrary in my case. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de