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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,20dd8ed49a092517 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.180.91.231 with SMTP id ch7mr1453253wib.1.1348464745763; Sun, 23 Sep 2012 22:32:25 -0700 (PDT) Path: q11ni38617649wiw.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Qt or Gtk? (from an Ada perspective) Date: Mon, 24 Sep 2012 07:32:31 +0200 Organization: A noiseless patient Spider Message-ID: References: <99575344-c301-4af2-9155-b6577bfb1ca6@googlegroups.com> Mime-Version: 1.0 Injection-Date: Mon, 24 Sep 2012 05:32:25 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="709a3b9124d052b085bf6fc3f0a2adab"; logging-data="446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181vUAokvtncr6H/095qWA6" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: Cancel-Lock: sha1:xH2WbzGGTOP07kAVKuLj/0napbk= X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-09-24T07:32:31+02:00 List-Id: Le 18/09/2012 10:47, Brian Drummond a écrit : > Another option, if your GUI needs are simple enough, might be to build > Zenity command lines in Ada, and run them using System.OS_Lib, capturing > their stdout and return codes. > > http://library.gnome.org/users/zenity/stable/ > > http://rosettacode.org/wiki/Execute_a_system_command > > I have used Zenity to "rapid prototype" things in BASH scripts, but it > would be nice to do the actual programming in Ada. > > You can test the GUI parts from the command line without compiling > anything. It would certainly be quicker to learn than GTKAda! If you go the way of interpreted languages, you can also use Tcl/TK with the Tash interface. I used it on an application, and it went quite well. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr