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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,26d3e1acde35d920 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-23 05:30:41 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!ix.netcom.com!netcomsv!butch!cliffy.lfwc.lockheed.com!cliffy.lfwc.lockheed.com!l107353 From: l107353@cliffy.lfwc.lockheed.com (Garlington KE) Newsgroups: comp.lang.ada Subject: Re: Ada Motif bindings ? Date: 23 Nov 1994 13:30:41 GMT Organization: Lockheed Fort Worth Company Distribution: world Message-ID: <3avg61$5b@cliffy.lfwc.lockheed.com> References: <3aqvlm$4ih@news.tamu.edu> NNTP-Posting-Host: cliffy.lfwc.lockheed.com X-Newsreader: TIN [version 1.2 PL2] Date: 1994-11-23T13:30:41+00:00 List-Id: Ron J Theriault (ron@slx0.NoSubdomain.NoDomain) wrote: : Does anyone (other than the developers), have any experience using : Ada Motif bindings? As a matter of fact, I'm currently writing a Motif application using the DEC Motif package on VAX/VMS, using only a Motif textbook written for UNIX. The Motif package is pretty good; the only thing missing that I've seen is the XtSetArg function. However, setting the Arg array is pretty easy once you get the hang of it. Callbacks are a little tricky, since Motif requires everything to be passed by address (so some type checking is lost). However, as log as you remember to pass strings aroung as a C_Types.Char_Ptr (C_Types, along with Motif, are in the ADA$PREDEFINED directory), it's not hard to work out the interface. One other thing to remember: I couldn't find any examples in the ADA$EXAMPLES directory that actually use the Motif package. They all use their own binding to X and Motif. Good luck! : ------------------------------------------------------------------- : Ron Theriault : CS Department : Texas A&M Univ. : ron@cs.tamu.edu -------------------------------------------------------------------- Ken Garlington GarlingtonKE@lfwc.lockheed.com F-22 Computer Resources Lockheed Fort Worth Co. If LFWC or the F-22 program has any opinions, they aren't telling me.