From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 2 May 93 22:27:41 GMT From: paloverde!hines@lanl.gov (Donn Hines) Subject: Re: Motif Bindings Message-ID: <1993May2.222741.8394@newshost.lanl.gov> List-Id: In article LG5@plato.ds.boeing.com, dano@dogfish.boeing.com (Dan Olson) writes: >Question 1: Are bindings available to build Motif interfaces? > >Question 2: How are callbacks done without pointer to functions > (assuming that bindings do exist)? > > > >-- > UUCP: ..!uunet!bcstec!plato!dogfish!dano >Internet: dano@dogfish.ds.boeing.com Hello, Dan, email bounced, so I'm posting the recent responses I received on the subje ct, figuring it is of general enough interest to warrant a post. >>From serc@well.sf.ca.us Wed Apr 21 16:13:52 1993 Return-Path: Received: from nkosi.well.sf.ca.us by paloverde.lanl.gov (4.1/SMI-4.1) id AA06601; Wed, 21 Apr 93 16:13:50 MDT Received: from well.sf.ca.us by nkosi.well.sf.ca.us with SMTP id AA03245 (5.65c/IDA-1.4.4 for ); Wed, 21 Apr 1993 15:12:37 - 0700 Received: by well.sf.ca.us (5.65c/SMI-4.1/well-930413-1) id AA28864; Wed, 21 Apr 1993 15:12:25 -0700 Date: Wed, 21 Apr 1993 15:12:25 -0700 From: Systems Engineering Research Corporation Message-Id: <199304212212.AA28864@well.sf.ca.us> To: hines@paloverde.lanl.gov Subject: Re: Ada and OSF/Motif Newsgroups: comp.lang.ada References: <1993Apr16.152029.18821@newshost.lanl.go v> Content-Length: 1193 X-Lines: 32 Status: RO In comp.lang.ada you write: >In article 5Bv@speedy.cci.de, peek@speedy.cci.de (Ruth Peek) writes: >> >>Ada and OSF/Motif >>================= >> >>I am looking for an interface builder which supports the development of >>OSF/Motif graphical user interfaces, written in Ada. I know the >>product "ixbuild", but it produces C-code. Does anyone know about >>interface builders which produce Ada code? Does anyone have experience >>of using these interface builders? >> > >I too am interested in such! Pleas post if you have info. >-donn hines los alamos national laboratory You should be aware of our products UIL/Ada and Ada/Motif which are a solid and very standardized GUI development kit for Ada and which integrate with most of the commercial GUI builder programs. Contact me at any time for details. Best regards, Richard N. Henault Systems Engineering Research Corp. 2555 East Charleston Road Mountain View, CA, USA 94043 1-800-Ada-SERC (Voice CONUS) +415-962-8092 (Voice) +415-962-0330 (Fax) >>From widget!evb.com!debi@uunet.UU.NET Tue Apr 27 09:07:23 1993 Return-Path: Received: from relay1.UU.NET by paloverde.lanl.gov (4.1/SMI-4.1) id AA08064; Tue, 27 Apr 93 09:07:21 MDT Received: from spool.uu.net (via localhost.UU.NET) by relay1.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA25382; Tue, 27 Apr 93 11:06:12 -0400 Received: from widget.UUCP by spool.uu.net with UUCP/RMAIL (queueing-rmail) id 110423.17846; Tue, 27 Apr 1993 11:04:23 EDT Received: from [192.9.3.8] by evb.com (4.1/SMI-4.1) id AA20529; Tue, 27 Apr 93 09:51:20 EDT Message-Id: <9304271351.AA20529@evb.com> Date: Tue, 27 Apr 1993 08:49:34 -0500 To: hines@paloverde.lanl.gov From: debi@evb.com (Debrah Dunbar) X-Sender: debi@192.9.3.2 Subject: Builder info. Content-Length: 6662 X-Lines: 142 Status: RO >Dear Mr. Hines, > EVB Software Engineering, Inc. markets a product called GRAMMI >which is a graphical user interface builder that creates Ada code. It uses >motif compliant widget sets. I've enclosed some data from a spec. sheet >below, and would like to mail you some information and references on the >product if you could provide me with your paper-mail address. >If you have any questions, please contact me at 301-695-6960. My e-mail >address is debi@evb.com > >Sincerely, > >Debra Dunbar >Director of Sales and Marketing >EVB Software Engineering, Inc. > >________________ >Technical Overview of GRAMMIT > >General Description > >GRAMMI (Generated Reusable Ada Modifiable Machine Interface) is an >interactive interface construction tool for use with Ada programs. Written >in Ada, GRAMMI uses the MIT X Window SystemT to produce graphical user >interface software written in Ada with a Motif style. It employs a point >and click construction style for specifying the appearance of an >application screen. GRAMMI can be used both to prototype an application's >user interface and to generate the implementing Ada source code for >incorporation into the deliverable system. > >The usage paradigm for the construction of an application interface using >GRAMMI involves a user (i.e., a software developer) interactively composing >display screens employing elements from the GRAMMI Graphical Component >Library (GCL), tailoring them, and positioning them on the screen. >Once a screen has been composed, it can itself be stored in the GCL, >expanded into source code for use by the application, or both. The >aggregate of software that GRAMMI supplies to an application is referred to >as the user interface software. The combination of user interface software >and application software is loaded into the target system, and the operator >(i.e., the customer who uses the application) communicates with the >application through the screens which were composed by the user. > >The major component of the GRAMMI system is the User Interface Editor (UIE) >which is used to compose application screens interactively employing a >powerful graphics editor. It provides access to the library of graphical >components through standard palettes. The GCL objects may be screen objects >or full screen descriptions. A screen object is the lowest level building >block for composing a screen. It comprises a visual appearance as well as >associated behavior. For example, a button is a screen object that might >have a square appearance and will "depress" when clicked. Screen objects >may also be composed using other screen objects and encapsulating their >behavior within a single composite screen object. > >A screen description is an internal description that is utilized by the UIE >to display and record a particular full screen image. The user constructs a >display screen by interactively moving screen objects into the desired >positions. Once satisfied with the appearance of a screen, the user may >store a description of the screen back into the library. It may be recalled >later for further updating or for use in other applications. Once a set of >screens has been developed for an application, the Graphical Component >Interface Generator (GCIG) is used to convert a screen description or a set >of screen descriptions into user interface software. The Applications >Binder can then be used to combine this software with the application code >to produce the target system software. The user interface software that is >generated by GRAMMI and loaded into the target system is referred to as the >GRAMMI Application Environment (GAE). The operator communicates with the >application through the GAE. >Additionally, the UIE may be extended by developing new objects (basic and >composite) and installing them in the Graphical Component Library for use >in composing screens. The GRAMMI system can thus be tailored for each new >project. > >Benefits > >GRAMMI use results in reduced development time. By using a point and click >construction style and composing screens at a higher conceptual level than >hand coding, display screens can be built and modified far more easily. >Other important benefits include: >o High level of Ada compatibility >o Fewer lines of source code to maintain >o Modification of screen attributes without recompiling >o Reusability >o Support for evolutionary prototypes >o Support for rapid prototyping >o Support for standard "look and feel" across multiple applications >and > systems >o User interface style enforcement > >Features >o The User Interface Editor provides: >o error message display area >o interactive window placement >o object palette for browsing available screen objects >o pallet objects and their ordering are user-editable >o pop-up attribute selection form for tailoring specific objects >o window and object duplication function >o Applications can utilize: >o automatic logging of errors >o automatic, overrideable exception handling >o fixed tiled window layout >o Motif Window manager >o Graphical components provided in the GCL include: >o basic components such as: > label boxes knobs > buttons pop-up menus > checkboxes pull-down menus > dialog boxes radio buttons > floating point fields sliders > icons text fields > integer fields container fields >o composite components such as: > digital steps graphical data plots > digital tuners resource managers > forms spectral display units > geographical maps tables > >HOST Requirements >GRAMMI is available for the following environments. It requires the >indicated Ada compiler and operating system versions or later. > Hardware Operating System Compiler > > Sun 4 (SPARC) SunOS 4.1.1 Verdix 6.0 > Silicon Graphics IRIX 4.0 SGI Ada 3.1 > HP 9000 Series 360/370 HP-UX HP/Alsys 4.3 > > >For further information, call 1-800-grammi-1 > >GRAMMI is a trademark of ESL, Inc. X Window System is a trademark of the >Massachusetts Institute of Technology. HP-UX is a trademark of the Hewlett >Packard Company. > > >Debbie Dunbar >Marketing/Sales Administration >debi@evb.com Debbie Dunbar Marketing/Sales Administration debi@evb.com