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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8cd8e80831b0f2b6 X-Google-Attributes: gid103376,public From: "Theodore E. Dennison" Subject: Re: Looking for Ada GUI builder for Sun Date: 1996/06/20 Message-ID: <31C93F96.446B9B3D@escmail.orl.mmc.com>#1/1 X-Deja-AN: 161196833 references: <4q7n0t$diu@butch.lmsc.lockheed.com> content-type: text/plain; charset=us-ascii organization: Lockheed Martin Information Systems mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m) Date: 1996-06-20T00:00:00+00:00 List-Id: 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 |