comp.lang.ada
 help / color / mirror / Atom feed
From: "Theodore E. Dennison" <dennison@escmail.orl.mmc.com>
Subject: Re: Looking for Ada GUI builder for Sun
Date: 1996/06/20
Date: 1996-06-20T00:00:00+00:00	[thread overview]
Message-ID: <31C93F96.446B9B3D@escmail.orl.mmc.com> (raw)
In-Reply-To: 4q7n0t$diu@butch.lmsc.lockheed.com


David Kristola wrote:
> 
> Does anyone know of a GUI builder (X/Motif/whatever) for Sun (Solaris 2.5) that
> produces Ada code?  I don't mind working with mixed language programs, but it
> would be nice to avoid if possible.

Altia (from Alsys) does this. Black&White's UIM/Ada for HP/UX also does this, but 
I don't know if they have a Solaris port. These are both Motif GUI builders, so 
you must work with Motif-level widgets. If you want X-level stuff like gauges, 
rotating knobs, or graphic pictures with hot spots, you will still have to do it
manually. I don't know of any X-based GUI builders that generate Ada.

One big problem with going this route is that GUI-builder products will tie you in to 
their proprietary runtimes, if you are not careful.

The solution I generally reccomend for folks (who can work at the Motif-level) is
to use a Motif GUI builder that can generate and read UIL. UIL is a separate language
than Ada, but the UIL compiler comes with all Motif systems, and will catch 
inconsistencies and errors that would look like perfectly good code to a C or Ada 
compiler. UIL is also completely portable across all Motif implementations (of the
same version). If you want to change platforms, or even Motif GUI builders, you 
have that option. With other implementations you are tied to your GUI-builer vendor,
and their supported platforms, for life. There are even some tools available to 
translate UIL into Windows GUI code! Interfacing Ada to UIL object files (.uid) is
trivial. Its just a matter of 3 Motif calls (+ one for each widget you want to use
directly).

-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




  parent reply	other threads:[~1996-06-20  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-19  0:00 Looking for Ada GUI builder for Sun David Kristola
1996-06-19  0:00 ` Mike Bishop
1996-06-20  0:00 ` AW: " Fachet
1996-06-20  0:00 ` Theodore E. Dennison [this message]
1996-06-20  0:00   ` Theodore E. Dennison
1996-06-21  0:00     ` Tucker Taft
1996-06-20  0:00   ` RICHARD A MAFFEI
replies disabled

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