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=-0.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 2 May 93 16:41:39 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!darwi n.sura.net!dtix.dt.navy.mil!cs.umd.edu!afterlife!blackbird.afit.af.mil!kmathias @ucbvax.Berkeley.EDU (Karl S Mathias) Subject: Re: Motif Bindings Message-ID: List-Id: 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)? Answer to Question One: Yes, there are bindings available. The STARS repository should have a copy of the Boeing bindings. At AFIT we are using a commercial set of bindings that give full X lib, Xt and Motif functionality. The company that markets this set of bindings is Systems Engineering Research Corporation. The product is called Ada/Motif. There are other public domain and commercial binding sets available beyond these. Answer to Question Two: Callbacks are registered by supplying the address of the function. Xt_Add_Callback( Target_Widget, Xm_N_activate_Callback, Callback_Function'ADDRESS, Data'ADDRESS); Note that the 'ADDRESS attribute does supply a pointer to the function. Capt Karl Mathias kmathias@afit.af.mil Graduate Student, Air Force Institute of Technology "Opinions expressed are my own and not those of the U.S. Air Force"