Path: utzoo!attcan!uunet!cs.utexas.edu!usc!ucsd!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!ukc!harrier.ukc.ac.uk!rlh2 From: rlh2@ukc.ac.uk (Richard Hesketh) Newsgroups: comp.windows.x.motif Subject: Re: Motif 1.0 w/X11R4 Message-ID: <5132@harrier.ukc.ac.uk> Date: 18 Jul 90 11:42:47 GMT References: <1990Jul18.040054.14112@pcrat.uucp% Reply-To: rlh2@ukc.ac.uk (Richard Hesketh) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 41 Summary: Expires: Sender: Followup-To: In article <1990Jul18.040054.14112@pcrat.uucp% rick@pcrat.uucp (Rick Richardson) writes: %I just got through trying to determine if I could use the %Motif 1.0 libXm.a (as provided by ISC) with the X11R4 %libXt.a libX.a et al libraries (as provided by Thomas Roell). %Unfortunately, the layered look has got a few kinks. To %wit, one routine that Motif wants apparently got dropped %completely out of libXt in R4. And a bunch of others seem %to have not been in the original R3 libXt, but were added %later to the R3 libXt specifically for Motif's pleasure: % %undefined first referenced ISC R3 ISC R3 % symbol in file libXt libXt (Motif Ver) %_XtGetPerDisplay /usr3/lib/libXm.a Yes Yes %XtWidgetCallCallbacks /usr3/lib/libXm.a No Yes %XtWidgetHasCallbacks /usr3/lib/libXm.a No Yes %XtWidgetOverrideCallback /usr3/lib/libXm.a No Yes %_XtFocusMode /usr3/lib/libXm.a No Yes %_XtSetFontUnit /usr3/lib/libXm.a No Yes %_XtLangExpand /usr3/lib/libXm.a No Yes %_XtCheckLangName /usr3/lib/libXm.a No Yes %Perhaps someone more knowledgeable about X11R4 might be able %to point me at R4 equivalents to these routines, or even source %code to implement them. Looking through the R4 source (my favourite lunchtime treat 8-) I found: _XtGetPerDisplay defined as a macro in Xt/InitialI.h XtWidgetCallCallbacks() and XtWidgetHasCallbacks() are renamed to XtCallCallbacks() and XtHasCallbacks() respectively. No idea what XtWidgetOverrideCallback() does, from the name of it it sounds like a combination of XtRemoveCallback & XtAddCallback?? No idea what _XtFocusMode does. Hope that helps a bit. Richard