|
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: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
|

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