comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!darwi
Subject: Re: Motif Bindings
Date: 2 May 93 16:41:39 GMT	[thread overview]
Message-ID: <kmathias.736360899@afit.af.mil> (raw)

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" 

             reply	other threads:[~1993-05-02 16:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-02 16:41 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!darwi [this message]
  -- strict thread matches above, loose matches on Subject: below --
1994-11-02 18:46 Motif bindings Bennett, Chip (KTR) ~U
1994-11-01  6:54 Oren Amichay
1993-05-06 13:54 Motif Bindings Joe Hildebrand
1993-05-02 22:27 Donn Hines
1993-04-30 14:29 Dan Olson
replies disabled

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