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=ham 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.180.95.2 with SMTP id dg2mr71752wib.2.1348190012122; Thu, 20 Sep 2012 18:13:32 -0700 (PDT) Path: q11ni3492521wiw.1!nntp.google.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!news.astraweb.com!border5.a.newsrouter.astraweb.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!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Qt or Gtk? (from an Ada perspective) Date: Tue, 18 Sep 2012 08:47:25 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <99575344-c301-4af2-9155-b6577bfb1ca6@googlegroups.com> Mime-Version: 1.0 Injection-Date: Tue, 18 Sep 2012 08:47:25 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="0e44dd4a3c4e0a6e83a86f947fb780ae"; logging-data="17261"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eXxf+aS/HP3vbdRtGW7FCkHFL7X0QldE=" User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Cancel-Lock: sha1:PY6naOdcZpD1yeDCpV8fI70kjMU= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-09-18T08:47:25+00:00 List-Id: On Mon, 17 Sep 2012 04:34:41 -0700, alb348 wrote: > Note: what I actually need to use is a very small subset of the > functionality offered by these toolkits, in that I will only use some > basic GUI functions like text edit boxes, as well as file I/O and text > processing. But not much beyond that. 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! - Brian