Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Motif FAQ (Part 1 of 9)
Section - 15)* How can I find which version of Motif I have? Xlib or Xt

( Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Business Photos and Profiles ]


Top Document: Motif FAQ (Part 1 of 9)
Previous Document: 14)* What versions of Motif are there?
Next Document: 16) Is there a concise features list for Motif 2.0?
See reader questions & answers on this topic! - Help others by sharing your knowledge
version?
[Last modified: Jan 02]

Answer: The macro XmVERSION gives you the version number.  The macro
XmREVISION gives you the major revision number.  The macro XmVersion combines
these e.g. a value of 1002 is Motif 1.2.  In Motif 1.2, the macro
XmUPDATE_LEVEL was added to give the minor revision number (also known as the
patch level).

To find the version of a compiled Motif library:

    grep XmVERSION_STRING libXm.a

To find the Motif version at run-time, use the global variable:

    xmUseVersion

Ken Lee adds the following for determining the Xlib and Xt version:

X11/Xlib.h should have macros like this:
#define XlibSpecificationRelease 6
meaning X11R6.

Similarly, X11/Intrinsic.h has this in X11R6:
#define XtSpecificationRelease 6


User Contributions:

Report this comment as inappropriate
Jul 14, 2019 @ 11:11 am
Drew Rosenhaus, Hardy's agent, said he would discuss Henderson's ruling with his client, lawyers and the NFL Players Association, adding that they were "still considering further legal action."
BEREA, Ohio (AP) ?The Browns believe Johnny Manziel's sore elbow could be the result of his slinging arm motion, something they won't try to change.
And despite his success as a running back, Thompson is intent on remaining a defensive player.
The Patriots star quarterback complimented Tannehill's accuracy.
"I think our whole organization is on that same page," Spielman told reporters at the NFL scouting combine in Indianapolis.

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: Motif FAQ (Part 1 of 9)
Previous Document: 14)* What versions of Motif are there?
Next Document: 16) Is there a concise features list for Motif 2.0?

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)





Last Update March 27 2014 @ 02:11 PM