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: 103376,20dd8ed49a092517 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.76.38 with SMTP id h6mr2457107paw.15.1348521119923; Mon, 24 Sep 2012 14:11:59 -0700 (PDT) Path: a8ni22718853pbd.1!nntp.google.com!news.glorb.com!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Qt or Gtk? (from an Ada perspective) Date: Mon, 24 Sep 2012 22:11:57 +0100 Organization: A noiseless patient Spider Message-ID: References: <99575344-c301-4af2-9155-b6577bfb1ca6@googlegroups.com> <3c37c062-670c-4e07-9a6f-739f55c4c61d@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="5f22ba276a4b4f77c63ae2949e7306f1"; logging-data="14252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Nzrip9o5Q5m+BNhnjEkMYT3+ujHvz+F0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) Cancel-Lock: sha1:wOWW5bMBIjM1vW9v83pJHFoHsv4= sha1:c/jFP8bRa4sgPa8F//ePhDBig/A= Content-Type: text/plain Date: 2012-09-24T22:11:57+01:00 List-Id: Patrick writes: > Hi JP > > I am checking out TASH too. It sound like it is a thin/medium binding > now due to changes with Tcl/Tk. Did you use it before 8.5 ? (pardon me for butting in) I don't believe there's much, if anything, in the TASH.* hierarchy that isn't supported either by Ada2005 (Arrays, Lists, Strings) or by GNAT extensions (File, Regexp, Platform, System). For those with only a passing interest -- these Tcl features were made private at Tcl 8.5, so it was no longer possible to provide a binding to them. Come to that, there's an awful lot of the Tcl binding in TASH that you really won't need! Write the GUI in Tcl/Tk and provide the minimum additional commands (exporting of Ada application interfaces to the Tcl domain) for your needs. One thing I never got round to doing is working out how to tell the Tcl side that a variable had changed so as to avoid polling. I have a feeling this is possible, but I didn't _have_ to do it. Perhaps use Tcl_SetVar & trace??? (but there will probably be threading issues).