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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM 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,ASCII-7-bit Received: by 10.180.88.195 with SMTP id bi3mr2396944wib.3.1347961395642; Tue, 18 Sep 2012 02:43:15 -0700 (PDT) Received: by 10.52.19.197 with SMTP id h5mr1201641vde.17.1347961395482; Tue, 18 Sep 2012 02:43:15 -0700 (PDT) Path: ed8ni114471314wib.0!nntp.google.com!v8no34666qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 18 Sep 2012 02:43:15 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2.230.82.82; posting-account=vICoKAoAAACvprQdoU1Fu4jhuX0G_mBQ NNTP-Posting-Host: 2.230.82.82 References: <99575344-c301-4af2-9155-b6577bfb1ca6@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <44ed5dd4-451e-43eb-be80-5c554e5c86d6@googlegroups.com> Subject: Re: Qt or Gtk? (from an Ada perspective) From: alb348@gmail.com Injection-Date: Tue, 18 Sep 2012 09:43:15 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-09-18T02:43:15-07:00 List-Id: On Tuesday, September 18, 2012 10:47:26 AM UTC+2, Brian Drummond wrote: > 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 Zenity looks interesting indeed. Only, it does not seem to support text edit boxes (unless I am mistaken), which I really need.