comp.lang.ada
 help / color / mirror / Atom feed
From: Justin Time <francois_fabien@hotmail.com>
Subject: Re: Easiest way to build Qt/Gtk interfaces for Ada programs
Date: Fri, 28 Dec 2012 12:38:09 -0800 (PST)
Date: 2012-12-28T12:38:09-08:00	[thread overview]
Message-ID: <52aed30c-1fd3-407e-be52-2c366b9002d6@googlegroups.com> (raw)
In-Reply-To: <87072854-0f81-41fd-8cb0-ede78fccf6e7@googlegroups.com>

Le vendredi 28 décembre 2012 20:56:31 UTC+1, alb...@gmail.com a écrit :
> On Friday, December 28, 2012 5:20:04 PM UTC+1, Vadim Godunko wrote:
> 
> 
> 
> > Both toolkits have GUI builder programs (GLADE for Gtk+
> 
> > and Qt Designer for Qt), but both doesn't generate Ada
> 
> > code. 
> 
> > Instead, they use intermediate representation of GUI
> 
> > components and load them at run-time.
> 
> 
> 
> Sorry, I was not able to understand the meaning of the last sentence. What I would like to understand, specifically, is whether the code generated by those "builders" could be useful, in any way, for Ada programmers. And, if so, what would be the next step to take after generating the code with the builders. 
> 
> For instance, is it possible to run some Ada "binder" on the generated code of those objects, in order to automatically create Ada bindings from them?

Glade does not generate Ada code but a XML file that contains descriptions of 
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



  reply	other threads:[~2012-12-28 20:38 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 14:51 Easiest way to build Qt/Gtk interfaces for Ada programs alb348
2012-12-28 15:32 ` Dmitry A. Kazakov
2012-12-28 17:30   ` alb348
2012-12-28 17:57     ` Dmitry A. Kazakov
2012-12-29  0:18   ` Yannick Duchêne (Hibou57)
2012-12-29  9:26     ` Dmitry A. Kazakov
2012-12-29 10:39       ` Yannick Duchêne (Hibou57)
2012-12-29 12:27         ` Dmitry A. Kazakov
2012-12-29 13:07           ` Georg Bauhaus
2012-12-29 13:26             ` Yannick Duchêne (Hibou57)
2012-12-29 13:09           ` Yannick Duchêne (Hibou57)
2012-12-29  0:27   ` Randy Brukardt
2012-12-29  1:02     ` Georg Bauhaus
2012-12-29  2:10       ` Yannick Duchêne (Hibou57)
2012-12-29  8:55       ` Dmitry A. Kazakov
2012-12-28 16:20 ` Vadim Godunko
2012-12-28 19:56   ` alb348
2012-12-28 20:38     ` Justin Time [this message]
2012-12-28 20:52       ` alb348
2012-12-29  0:48         ` Randy Brukardt
2012-12-29 10:23           ` Blady
2012-12-29 10:51             ` Yannick Duchêne (Hibou57)
2012-12-29 15:24           ` Justin Time
2012-12-31 21:49             ` Randy Brukardt
2013-01-01 10:46               ` Justin Time
2013-01-01 12:24                 ` Dmitry A. Kazakov
2013-01-01 16:55                   ` Justin Time
2013-01-02 10:00                     ` Dmitry A. Kazakov
2012-12-28 17:58 ` Justin Time
2012-12-31  8:07   ` ldries46
2012-12-31 20:58     ` John B. Matthews
2013-01-04 23:39     ` Brian Drummond
2012-12-29 16:40 ` leonid.dulman
2012-12-29 18:12   ` alb348
2012-12-30 17:27 ` leonid.dulman
2013-01-04 13:53   ` Patrick
2013-01-04 23:31     ` Brian Drummond
2013-01-05  8:57       ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox