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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b6df8f8501cf7275 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII X-Received: by 10.224.218.2 with SMTP id ho2mr18072346qab.8.1356727089858; Fri, 28 Dec 2012 12:38:09 -0800 (PST) Received: by 10.49.1.43 with SMTP id 11mr5357081qej.29.1356727089833; Fri, 28 Dec 2012 12:38:09 -0800 (PST) Path: k2ni3151qap.0!nntp.google.com!ee4no3224554qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 28 Dec 2012 12:38:09 -0800 (PST) In-Reply-To: <87072854-0f81-41fd-8cb0-ede78fccf6e7@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.190.25.159; posting-account=DAe9nQkAAAB9gkplHzkiZyyp2GkJ0X9B NNTP-Posting-Host: 109.190.25.159 References: <87072854-0f81-41fd-8cb0-ede78fccf6e7@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <52aed30c-1fd3-407e-be52-2c366b9002d6@googlegroups.com> Subject: Re: Easiest way to build Qt/Gtk interfaces for Ada programs From: Justin Time Injection-Date: Fri, 28 Dec 2012 20:38:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-12-28T12:38:09-08:00 List-Id: Le vendredi 28 d=E9cembre 2012 20:56:31 UTC+1, alb...@gmail.com a =E9crit= =A0: > On Friday, December 28, 2012 5:20:04 PM UTC+1, Vadim Godunko wrote: >=20 >=20 >=20 > > Both toolkits have GUI builder programs (GLADE for Gtk+ >=20 > > and Qt Designer for Qt), but both doesn't generate Ada >=20 > > code.=20 >=20 > > Instead, they use intermediate representation of GUI >=20 > > components and load them at run-time. >=20 >=20 >=20 > Sorry, I was not able to understand the meaning of the last sentence. Wha= t I would like to understand, specifically, is whether the code generated b= y those "builders" could be useful, in any way, for Ada programmers. And, i= f so, what would be the next step to take after generating the code with th= e builders.=20 >=20 > For instance, is it possible to run some Ada "binder" on the generated co= de of those objects, in order to automatically create Ada bindings from the= m? Glade does not generate Ada code but a XML file that contains descriptions = of=20 GTK widgets/windows (size, packing, signals, etc ...). >From this XML file you can get a code prototype using a code sketcher. Code sketcher are available for different languages : See section "Code sketching" in article http://en.wikipedia.org/wiki/Glade_= Interface_Designer