home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / motif-faq / part1 next >
Internet Message Format  |  2004-05-05  |  55KB

  1. Path: senator-bedfellow.mit.edu!dreaderd!not-for-mail
  2. Message-ID: <motif-faq/part1_1083675484@rtfm.mit.edu>
  3. Supersedes: <motif-faq/part1_1082292761@rtfm.mit.edu>
  4. Expires: 2 Jun 2004 12:58:04 GMT
  5. X-Last-Updated: 2002/01/31
  6. Organization: none
  7. Subject: Motif FAQ (Part 1 of 9)
  8. Newsgroups: comp.windows.x.motif,comp.answers,news.answers
  9. Keywords: FAQ question answer
  10. From: kenton@rahul.net (Ken Lee)
  11. Reply-To: kenton@rahul.net (Ken Lee)
  12. Approved: news-answers-request@MIT.EDU
  13. Followup-To: poster
  14. Summary: Motif Frequently Asked Questions (with answers).
  15. Originator: faqserv@penguin-lust.MIT.EDU
  16. Date: 04 May 2004 12:59:09 GMT
  17. Lines: 1287
  18. NNTP-Posting-Host: penguin-lust.mit.edu
  19. X-Trace: 1083675549 senator-bedfellow.mit.edu 578 18.181.0.29
  20. Xref: senator-bedfellow.mit.edu comp.windows.x.motif:75184 comp.answers:57049 news.answers:270853
  21.  
  22. Archive-name: motif-faq/part1
  23. Last-modified: 1 FEB 2002
  24. Posting-Frequency: irregular
  25. Organization: Kenton Lee, X/Motif Consultant, http://www.rahul.net/kenton/
  26. URL:  http://www.rahul.net/kenton/mfaq.html
  27. Version: 8.1
  28.  
  29. Subject:    Motif FAQ (all parts)
  30. Newsgroups:    comp.windows.x.motif,comp.answers,news.answers
  31. Reply-To:    kenton@rahul.net (Ken Lee)
  32. Summary:    Motif Frequently Asked Questions (with answers).
  33. Posting-Freq.:    irregular (re-posted monthly to comp.windows.x.motif)
  34. Organization:    Kenton Lee, X/Motif Consultant, http://www.rahul.net/kenton/
  35. URL:        http://www.rahul.net/kenton/mfaq.html
  36.  
  37. Motif FAQ
  38.  
  39. [Last changed: 1 FEB 2002]
  40.  
  41. This article contains the answers to some Frequently Asked Questions (FAQ) 
  42. often seen in comp.windows.x.motif. It is posted to help reduce volume in 
  43. this newsgroup and to provide hard-to-find information of general interest.
  44. This article includes answers to the questions listed below. Key:
  45.     + questions NEW to this issue;
  46.     * CHANGES since last issue.
  47.  
  48. This FAQ is maintained by Ken Lee (kenton@nojunk.rahul.net)
  49.     http://www.rahul.net/kenton/
  50.  
  51. You can obtain the most recent version of this FAQ via anonymous ftp from
  52. a server which will seldom refuse you access. Try any of these URLs:
  53.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ     or
  54.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.gz
  55.  
  56. or get the HTML version as one big 600KB file from:
  57.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html  or
  58.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html.gz
  59.  
  60. The Motif FAQ is mirrored at several sites around the world.
  61. Sites closer to you should load faster.  These sites are listed at:
  62.     http://www.rahul.net/kenton/mfaq.html
  63.  
  64. I also maintain a WWW page of over 700 technical X Window System and OSF/Motif
  65. links at:
  66.     http://www.rahul.net/kenton/xsites.framed.html
  67.  
  68. Send updates and corrections to kenton@nojunk.rahul.net.
  69. Please include the phrase "For Motif FAQ" in your subject line.
  70.  
  71. *** SUN READERS ***
  72. The Motif FAQ is now included in a different HTML format with Java applets 
  73. on the premiere issue of the SunSoft Developer CD-ROM. 
  74.  
  75. *** CAVEAT ***
  76. If an answer does not have a "Last modified" date, it's possible the
  77. information may no longer be accurate. Modification dates go back to
  78. August 1992.  More than half the answers have such a modification
  79. date.  Note also that the older the "Last modified" date, the more
  80. likely the information may be suspect. Pay close attention to version
  81. information discussed in answers, since the information may pertain
  82. only to that specific release.
  83.  
  84. This posting is Copyright (c) 1997-2002 by Kenton Lee.
  85. ALL RIGHTS RESERVED.  Permission is hereby granted to read and
  86. distribute this posting for non-commercial purposes.  Permission to use
  87. this material for any other purpose must first be obtained in writing
  88. from the author.
  89.  
  90. -----------------------------------------------------------------------------
  91.  0)  TOPIC: SUBMITTING SUGGESTIONS, CORRECTIONS, NEW ANSWERS
  92.  1)  TOPIC: WHAT IS MOTIF?
  93.  2)*  Is the Motif source code publically available?
  94.  3)*  What is Motif and how does it relate to the X Toolkit and X Window  Sys-
  95. tem?
  96.  4)  Where did the name "Motif" come from?
  97.  5)  TOPIC: OTHER RELEVANT NEWSGROUPS AND FAQS
  98.  6)  TOPIC: FAQ and NEWSGROUP FTP ARCHIVES
  99.  7)  Is the FAQ available via FTP?
  100.  8)  Can I receive email notification when the Motif FAQ is updated?
  101.  9)  Is this FAQ accessible via WWW?
  102. 10)*  Is this newsgroup archived?
  103. 11)  TOPIC: OSF, MOTIF VERSIONS, CDE, COSE, DCE, The OPEN GROUP
  104. 12)  How can I contact the Open Group?
  105. 13)  Where can I find OSF press releases on Motif and DCE?
  106. 14)*  What versions of Motif are there?
  107. 15)*  How can I find which version of Motif I have? Xlib or Xt version?
  108. 16)  Is there a concise features list for Motif 2.0?
  109. 17)  What are the details about new features in Motif 2.0?
  110. 18)  Is there a concise features list for Motif 2.1?
  111. 19)+  Is there a concise features list for Motif 2.2?
  112. 20)  Where can I find Motif 2.1 documentation?
  113. 21)*  Is the official Motif documentation available on-line?
  114. 22)  I want to use C++ with Motif. Where can I find C++ examples?
  115. 23)  Is Motif 2.0 backward compatible with Motif 1.2?
  116. 24)  How compatible are Motif 1.2.* and X11R6?
  117. 25)  Why aren't the big UNIX vendors shipping Motif 2.0?
  118. 26)  Where can I get Motif for UNIX, Linux, or Microsoft Windows?
  119. 27)  Is there a list of Motif bugs?
  120. 28)  Where can I get a Motif 1.2 Certification Checklist?
  121. 29)  What is CDE? What is COSE and how does it relate to Motif?
  122. 30)*  Is there a CDE FAQ or newsgroup?
  123. 31)  What is the current version of CDE and what are its features?
  124. 32)  How does Motif relate to X/Open and CDE?
  125. 33)  What is The Open Group?
  126. 34)  Is The Open Group assuming responsibility for the X Window System?
  127. 35)  What are the current correct trademark statements for X and Motif?
  128. 36)  Will CDE and Motif converge? What is the CDE/Motif JDA?
  129. 37)*  Has anyone done a public domain Motif lookalike?
  130. 38)  Does the Open Group have an application compliance validation service?
  131. 39)  What is the motif-talk mailing list?
  132. 40)  How does Motif work with X11R5?
  133. 41)  Where can I find X technical info on the WWW?
  134. 42)  What is Broadway?  I've heard it called "X on the Web".
  135. 43)  Where's an HTML version of the Motif FAQ on World Wide Web (WWW)?
  136. 44)  Where can I get the HTML widget used in Mosaic?
  137. 45)*  What widgets does Netscape use for its  bookmarks  list  and  preference
  138. panels?
  139. 46)  TOPIC: BOOKS and JOURNALS
  140. 47)  Is there a Motif tutorial? Xt tutorial? X11 tutorial?
  141. 48)  What books are available for Motif application programmers?
  142. 49)  What relevant journals are available?
  143. 50)  TOPIC: MWM and the SHELL WIDGET
  144. 51)  What is the difference between Motif and mwm?
  145. 52)  Does anyone have an alternative set of  3-D  defaults  for  a  monochrome
  146. screen?
  147. 53)  What are some useful mwm resources I can control?
  148. 54)  How can I configure mwm, such as changing or adding to root menus?
  149. 55)  How can my program determine which window manager is running?
  150. 56)  How can I modify the mwm's window decorations with a resource file?
  151. 57)  How can I programatically modify the mwm's window decorations?
  152. 58)  Is there an ICCCM compliant way of setting window manager decorations?
  153. 59)  How can I put decorations on transient windows using olwm?
  154. 60)  How can I turn off the Motif window manager  functions  from  the  system
  155. menu?
  156. 61)  How can I create a multi-colored window manager icon?
  157. 62)  How can I keep my shell windows fixed in size?
  158. 63)  Why is XtGetValues of XmNx and XmNy of my toplevel shell wrong?
  159. 64)  How do I get XmNx and XmNy positions to be honored correctly?
  160. 65)  How can my application know when the user has quit Mwm?
  161. 66)  How can I tell if the user has selected "Close" from the system menu? How
  162. do I catch the "Close"?
  163. 67)  Is there an mwm virtual desktop manager?
  164. 68)  Why does mwm 1.2 crash on startup?
  165. 69)  How do I obtain the size of a unmanaged shell widget?
  166. 70)  How can I create a shell widget with a non-default visual type?
  167. 71)  Can a non-shell Motif widget  have  a  different  visual  type  from  its
  168. parent?
  169. 72)  Why do I get BadMatch errors from my menus when I use a non-default visu-
  170. al type for my application shell?
  171. 73)  How do I popup a scrolled list on top of other widgets?
  172. 74)  How can I keep my application's window always on top of all other  appli-
  173. cations' windows?
  174. 75)  How can I maximize my top level shell?
  175. 76)  TOPIC: MOTIF DEVELOPMENT TOOLS (GUI BUILDERS and UIMS's)
  176. 77)*  What GUI tools exist to assist in developing Motif applications?
  177. 78)  TOPIC: GEOMETRY MANAGEMENT
  178. 79)  Why is geometry management so important?
  179. 80)  Why don't my labels resize in a RowColumn widget?
  180. 81)  Does XmRowColumn support multiple columns with different column widths?
  181. 82)  Why do composite widgets (including  dialogs)  that  were  created  after
  182. their parents were realized appear smaller under 1.2.3 and later?
  183. 83)  How does the ScrolledWindow manage resizing?
  184. 84)  Does the XmPanedWindow widget support horizontal paning?
  185. 85)  TOPIC: TEXT WIDGET
  186. 86)  How do XmTextField and a single line XmText widget differ?
  187. 87)  Why does  pressing RETURN in a text widget do nothing?
  188. 88)  Can you reuse the return value from XtParseTranslationTable?
  189. 89)  When I add text to a scrolling text widget, how can I get the new text to
  190. show?
  191. 90)  How do I scroll text to display the most recently added information?
  192. 91)  Does the text widget support 16 bit character fonts?
  193. 92)  How can I stop the text widget from echoing characters typed?
  194. 93)  How can I replace characters typed with say a `*'?
  195. 94)  How can I make a text widget insensitive without graying out the text?
  196. 95)  How can I best add a large piece of text to a scrolled text widget?
  197. 96)  How can I get the correct colors for scrolled text widget scrollbars (Sun
  198. only)?
  199. 97)  How can I highlight text in the Text widget?
  200. 98)  How can I select all of the text in a widget programmatically?
  201. 99)  Can I customize the pointer cursor or insert position indicator  used  by
  202. the text widget?
  203. 100)  How can I change colours of text in the Text widget?
  204. 101)  How can I change the font of text in the Text widget?
  205. 102)  Is there an emacs binding for the text widget?
  206. 103)  What if I have problems with the backspace/delete keys?
  207. 104)  How can I use a file as the text source for a Text widget?
  208. 105)  How can put Text in overstrike mode instead of insert?
  209. 106)  How can I make the Delete key do a Backspace?
  210. 107)  Can I change the tab stops in the XmText widget?
  211. 108)  TOPIC: LIST WIDGET
  212. 109)  Should I create an XmList widget as a child of automatic  XmScrolledWin-
  213. dow or use the XmCreateScrolledList() convenience function?
  214. 110)  How do I best put a new set of items into a list?
  215. 111)  Can I have strings with different fonts in a list?
  216. 112)  Can I get a bitmap to show in a list item like I can in a Label?
  217. 113)  Can I have items with different colors in a list widget?
  218. 114)  How can I line up columns in a list widget?
  219. 115)  Can I grey out an item in a list widget?
  220. 116)  Can I have multi-line items in a list?
  221. 117)  How can I tell the position of selected items in a list?
  222. 118)  How can I  configure  a  scrolled  list  widget  to  show  a  horizontal
  223. scrollbar when some list items are wider than the window?
  224. 119)  How can I programatically select all of the items in an XmList?
  225. 120)  TOPIC: FILE SELECTION BOX WIDGET
  226. 121)  What is libPW.a and do I need it?
  227. 122)  What are these compile errors: Undefined symbol _regcmp and _regex?
  228. 123)  What's wrong with the Motif 1.0 File Selection Box?
  229. 124)  How can I keep my file selection  boxes  from  resizing  when  I  change
  230. directories or filters?
  231. 125)  What's wrong with the FileSelectionBox under Solaris?
  232. 126)  TOPIC: FORM WIDGET
  233. 127)  Why don't labels in a Form resize when the label is changed?
  234. 128)  How can I center a widget in a form?
  235. 129)  How do I line up two columns of widgets of different types?
  236. 130)  TOPIC: PUSHBUTTON WIDGET
  237. 131)  Why doesn't the enter or return key activate the button with focus?
  238. 132)  Why can't I use accelerators on buttons not in a menu?
  239. 133)  TOPIC: TOGGLEBUTTON WIDGET
  240. 134)  What widgets give the look of push buttons, but behavior of toggle  but-
  241. tons?
  242. 135)  Can I customize XmToggleButton to use my own indicator graphic (e.g.,  a
  243. check mark)?
  244. 136)  TOPIC: ICON WIDGET and PIXMAPS
  245. 137)  What is XPM?
  246. 138)  How do I convert my XPM file into a Pixmap?
  247. 139)  How can I display a multi-color image in a widget?
  248. 140)  Can I use XmGetPixmap in Motif 1.2 to create colored images?
  249. 141)  Why does XpmCreatePixmapFromData fail with a pixmap containing  a  large
  250. number of colors?
  251. 142)  How can I convert a Sun/GIF/TIFF image to a pixmap?
  252. 143)  How can I use Motif's pre-defined pixmaps?
  253. 144)  TOPIC: SCALE AND SCROLLBAR WIDGET
  254. 145)  Can the XmScale widget have arrows or tick marks in Motif 2.0?
  255. 146)  How can I set the color of a XmScale widget's trough?
  256. 147)  How does Motif implement mouse button auto-repeat on the scrollbar's ar-
  257. row buttons?
  258. 148)  TOPIC: LABEL WIDGET
  259. 149)  How can I align the text in a label (button, etc) widget?
  260. 150)  Why doesn't label alignment work in a XmRowColumn?
  261. 151)  How can I set a multi-line label?
  262. 152)  How can I have a vertical label?
  263. 153)  How can I have a Pixmap in a Label?
  264. 154)  Why doesn't the XmLabel widget obey the XmNwith  and  XmNheight  that  I
  265. give it?
  266. 155)  How do you set the background  color  of  a  label  widget  using  XtVa-
  267. TypedArg?
  268. 156)  TOPIC: DRAWING AREA WIDGET
  269. 157)  How can I send an expose event to a Drawing Area widget?
  270. 158)  How can I know when a DrawingArea has been resized?
  271. 159)  How can I create a drawing area widget with a visual type different from
  272. its parent?
  273. 160)  How can I display postscript in a Motif widget, such as XmDrawingArea?
  274. 161)  TOPIC: MAIN WINDOW WIDGET
  275. 162)  How can I create a message window in an XmMainWindow?
  276. 163)  TOPIC: SCROLLED WINDOW WIDGET
  277. 164)  How do I tell if a scrolled window's scrollbars are visible?
  278. 165)  How can I programatically scroll a XmScrolledWindow in XmAUTOMATIC mode?
  279. 166)  What widget does the XmScrolledWindow use for its clip window?
  280. 167)  How do I create a scrolled window with only one scrollbar?
  281. 168)  TOPIC: MENUS
  282. 169)  How can I change the cursor used in Motif menus?
  283. 170)  How do I put my help menu on the far right of my menubar?
  284. 171)  Can I change or disable the menu bar accelerator from the default (F10)?
  285. 172)  How do I set the current choice in a radio box or an option menu?
  286. 173)  How can I determine the item selected in a a radio box or option menu?
  287. 174)  How can I change the cascade indicator on an option menu?
  288. 175)  How do I unset an XmToggleButton in a radio box?
  289. 176)  Can I place a radio box in a pulldown menu?
  290. 177)  How do I make a menu choice insensitive if it  was  created  with  XmVa-
  291. CreateSimplePulldownMenu?
  292. 178)  What widgets can I put inside a menubar?
  293. 179)  Can I have a cascade button without a submenu in a pulldown menu?
  294. 180)  Should I have a cascade button without a submenu in a pulldown menu?
  295. 181)  What is the best way to create popup menus?
  296. 182)  How do popup menus work?
  297. 183)  How can I disable the button 3 grab if I am not using popup menus?
  298. 184)  Should I use translation tables or actions for popup menus?
  299. 185)  What are the known bugs in popup menus?
  300. 186)  Can I have multiple popup menus on the same widget?
  301. 187)  How can I change the shell title of a tear-off menu?
  302. 188)  Can I programmatically tear-off a menu?
  303. 189)  What widgets are valid within Motif menus?
  304. 190)  Can I create multi-column popup or pulldown menus?
  305. 191)  How can I keep my program from hanging if a user activates a popup  that
  306. is a child of an insensitive push button?
  307. 192)  TOPIC: DRAG AND DROP
  308. 193)  Where can I find info and examples of the Motif drag and drop protocol?
  309. 194)  How can I disable Drag and Drop in my Motif 1.2 client ?
  310. 195)  Can I register client data for the Motif XmDropSite drop callback?
  311. 196)  Can unmanged widgets be valid (drag-and-drop) drop sites?
  312. 197)  TOPIC: INPUT FOCUS
  313. 198)  How can I specify the widget that should have the keyboard focus when my
  314. application starts up?
  315. 199)  How can I specify my own keyboard traversal order?
  316. 200)  How can I determine which widget has keyboard focus?
  317. 201)  How can I direct the keyboard input to a particular widget?
  318. 202)  How can I have a modal dialog which has to be answered before the appli-
  319. cation can continue?
  320. 203)  TOPIC: MEMORY AND SPEED
  321. 204)  When can I free data structures passed to or retrieved from Motif?
  322. 205)  What memory leaks are known? Why does my application grow in size?
  323. 206)  Why do I get so many uninitilized memory read (UMR) errors  when  I  run
  324. Purify[tm] on my Motif programs?
  325. 207)  Why does my application take a long time to start up?
  326. 208)  My application is running too slowly. How can I speed it up?
  327. 209)  Why is my application so huge?
  328. 210)  How can I improve performance when creating  and  deleting  hundreds  of
  329. text widgets?
  330. 211)  After I call XtSetValues, when will I see the changes in my GUI?
  331. 212)  TOPIC: XMSTRING
  332. 213)  What string functions differ in Motif 1.1 and 1.2?
  333. 214)*  How can I get the ASCII text out of an XmString?
  334. 215)  When can XmStrings used as resources be freed?
  335. 216)  Why doesn't XmStringGetNextSegment() work properly?
  336. 217)  Why does using XmStringDraw cause a BadFont error?
  337. 218)  How can I control color of individual strings to show status, etc.?
  338. 219)  TOPIC: DIALOGS
  339. 220)  How do I stop my dialog disappearing when I press the help button?
  340. 221)  How do I make my own dialog?
  341. 222)  Why do dialog title bars have "_popup" or  "<-popup"  concatenated  onto
  342. the widget name?
  343. 223)  How can I force a dialog window to display?
  344. 224)  How can I control placement of a popup widget?
  345. 225)  How can I set the dialog's default button?
  346. 226)  How can I create a dialog that behaves like, but  looks  a  little  dif-
  347. ferent from, XmMessageBox?
  348. 227)  How can I use Motif's message dialog bitmaps in my own dialogs?
  349. 228)  TOPIC: LANGUAGE BINDINGS
  350. 229)  What is ViewKit? Is there a free version?
  351. 230)  Is there a C++ binding for Motif?
  352. 231)  How can I avoid C++ String class and typedef char *String conflicts?
  353. 232)  How can I have a C++ member function in a callback?
  354. 233)  Is there a Common Lisp binding for Motif?
  355. 234)  Is there an Ada binding for Motif? (Part 1 of 2)
  356. 235)  Is there an Ada binding for Motif? (Part 2 of 2)
  357. 236)  Is there a Poplog binding for Motif?
  358. 237)  TOPIC: SPECIFIC PLATFORMS
  359. 238)  Is it easy to build Motif for a Sun?
  360. 239)  How do I build Motif 1.2.2 on Solaris 2.1 with Sun C?
  361. 240)  What compile errors/warnings might I get in both Sun 3 and Sun 4?
  362. 241)  On a Sun 3, what are the mwm startup error messages about?
  363. 242)  Are there problems making shared libraries on a Sun?
  364. 243)  Why does the OpenWindows server hangs when I popup a menu with Button 3?
  365. 244)  Has anyone made shared libraries on an IBM RS/6000?
  366. 245)  What is the error  "Unaligned access in XmString" under Ultrix?
  367. 246)  Can bugs in Sun's OpenWindows server cause Motif clients to crash?
  368. 247)  Why does Motif on Linux crash when I open a file selection box?
  369. 248)  Are there compatibility problems between some Linux Motif libraries  and
  370. libc5 or glibc?
  371. 249)  How can I install Motif on my PC?
  372. 250)  TOPIC: KEYSYMS
  373. 251)  What is causing the messages "unknown keysym name osfDown..."?
  374. 252)  What happens if I can't install Motif Keysyms?
  375. 253)  Why has OSF introduced Keysyms into Motif 1.1?
  376. 254)  Why do accented characters not work with Motif applications linked  with
  377. X11R6? What is the Compose file?
  378. 255)  TOPIC: UIL
  379. 256)  What is UIL and why is it so popular?
  380. 257)  What is Mrm?
  381. 258)  How do I specify a search path for ".uid" files?
  382. 259)  Can I specify callback functions in resource files?
  383. 260)  How can I set a multi-line label in UIL?
  384. 261)  Is there a program that can convert a UIL file to tclMotif?
  385. 262)  Why does my SCO UIL application fail to open 60 UID files?
  386. 263)  TOPIC: ICONIFICATION and DE-ICONIFICATION
  387. 264)  How can I keep track of changes to iconic/normal window state?
  388. 265)  How can I check if my application has come up iconic?
  389. 266)  How can I start my application in iconic state?
  390. 267)  How can an application iconify itself?
  391. 268)  How can an application de-iconify itself?
  392. 269)  Why doesn't MWM display an iconify button on my dialog windows?
  393. 270)  TOPIC: SPECIALIZED WIDGETS
  394. 271)  Where can I get ComboBox, SpinBox, or Tree graph widgets?
  395. 272)  How can I create a transparent widget?
  396. 273)  TOPIC: CREATING WIDGETS
  397. 274)  What are some good references for creating  widgets  (subclassing  widg-
  398. ets)?
  399. 275)  How can I achieve binary  compatibility  using  the  XmResolvePartOffset
  400. API?
  401. 276)  TOPIC: MISCELLANEOUS
  402. 277)  How can an application be informed of signals?
  403. 278)  How do I control the repeat rate on a SUN keyboard?
  404. 279)  How can I identify the children of a manager widget?
  405. 280)  What functions can an application use to change the size or position  of
  406. a widget?
  407. 281)  Can I use XtAddTimeOut, XtAddWorkProc, and  XtAddInput  with  XtAppMain-
  408. Loop?
  409. 282)  Why does XtGetValues  for  XmNx  and  XmNwidth  return  extremely  large
  410. values?
  411. 283)  Can I use XmGetPixmap() with widgets that have non-default visual types?
  412. 284)  What is the matter with Frame in Motif 1.2?
  413. 285)  What is IMUG and how do I join it?
  414. 286)  How do I set the title of a top level window?
  415. 287)  How can I disable the color scheme mechanism in CDE or HP VUE?
  416. 288)  Can I use editres with Motif? Is there an editres tutorial?
  417. 289)  Where is the editres protocol documented?
  418. 290)  Why does an augment translation appear to act as replace for some  widg-
  419. ets?
  420. 291)  How do you "grey" out a widget so that it cannot be activated?
  421. 292)  Can I change the graphics drawn by insensitive widgets?
  422. 293)  Why doesn't the Help callback work on some widgets?
  423. 294)*  How can I implement "bubble help" or "tool tips" with Motif?
  424. 295)  Can I specify a widget in a resource file?
  425. 296)  Why are only some of my translations are being installed?
  426. 297)  Can I have separate translations for shifted and unshifted keys?
  427. 298)  What are these "non-existant passive grab" warnings?
  428. 299)  How do I have more buttons than three in a MessageBox?
  429. 300)  How do I create a "busy working cursor"?
  430. 301)  Can I use the hourglass that mwm uses?
  431. 302)  What order should the libraries be linked in?
  432. 303)  How do I use xmkmf for Motif clients?
  433. 304)  How do I use imake with Motif 2.0?
  434. 305)  How do I make context sensitive help?
  435. 306)  How do I debug a modal interaction?
  436. 307)  Why can't I install my own colormap using XInstallColormap?
  437. 308)  How do I install a private colormap?
  438. 309)  How do I get correct shadow colors to match other color changes?
  439. 310)  What color algorithm does Motif use?
  440. 311)  How can you access the superclass widget from  which  Motif  convenience
  441. dialogs are subclassed?
  442. 312)  Can the Motif 2.0 Notebook widget display non-rectangular "file tabs"?
  443. 313)  How does the clipboard mechanism work?
  444. 314)  Why does the xyz application core dump when I cut and paste?
  445. 315)  Why is XtWindow(widget) == 0?
  446. 316)  How do I debug X protocol errors (e.g., BadWindow,  BadMatch)  in  Motif
  447. applications?
  448. 317)  Why doesn't XtNameToWidget (widget, "MyName") work?
  449. 318)  Why does my callback's client data structure  contain  incorrect  values
  450. when the callback is called?
  451. 319)  How can an application manage events on multiple displays?
  452. 320)  Can a Motif application create windows on mutiple screens (on  a  multi-
  453. screen workstation)?
  454. 321)  Why do I get "Error: attempt to add non-widget child "dsm" to parent"?
  455. 322)  Why do I get link errors about "XShape" symbols?
  456. 323)  Why do I get link errors about "ICE" and "SM" symbols?
  457. 324)  Why does my X11R6 program crash with undefined symbol "LowerCase"?
  458. 325)  How do I programatically control xwd to dump a specific window?
  459. 326)  How can I display an xwd in a window (without using xwud)?
  460. 327)  Can I write a multi-threaded Motif application?
  461. 328)  How can I dump my widget instance  tree  in  a  way  that  reflects  the
  462. hierarchy?
  463. 329)  How do I get the events for gadgets? Or the name of the gadget?
  464. 330)  Can I set the foreground and background colors of  gadgets  (e.g.,  con-
  465. venience dialog buttons)?
  466. 331)  Can I use a gadget as the parent of a dialog shell?
  467. 332)  Which other widget features do gadgets lack?
  468. 333)  Where can I get the xmon or xscope programs to trace my X protocol?
  469. 334)  What does the error "Couldn't find per display information" mean?
  470. 335)  Can I set widget fallback resources after I've called XtAppInitialize()?
  471. 336)  Can I use the newline character in widget names?
  472. 337)  Is anybody out there selling Windows95 look-alike widgets?
  473. 338)  How can I convert my OLIT programs to the Motif look & feel?
  474. 339)  What does this mean: Warning: Cannot find callback  list  in  XtAddCall-
  475. back?
  476. 340)  If a single widget has multiple callback functions, are they all execut-
  477. ed?  If so, in what order?
  478. 341)  Why are some widgets still visible after  I  call  XtDestroyWidget()  on
  479. them?
  480. 342)  If I call XtGetValues on a resource that does  not  exist  for  a  given
  481. widget, what value is returned?
  482. 343)  Can I reparent a widget (change its parent)?
  483. 344)  Are there any "year 2000" issues within Motif?
  484. 345)  Can I suppress or customize Motif warning and error messages?
  485. 346)  TOPIC: Motif FAQ HISTORY and ACKNOWLEDGEMENTS
  486.  
  487.  
  488. -----------------------------------------------------------------------------
  489.  
  490. Subject:  0)  TOPIC: SUBMITTING SUGGESTIONS, CORRECTIONS, NEW ANSWERS
  491. [Last modified: May 97]
  492.  
  493. Answer: If you want to add to the FAQ, here's the procedure....
  494.  
  495. If you have suggestions or corrections for any of these answers or any
  496. additional information, please send them to the e-mail address below.  The
  497. information will be included in the next revision or two.
  498.  
  499.     o Send updates, suggestions, corrections, new answers to:
  500.             kenton@nojunk.rahul.net   (Ken Lee)
  501.             X/Motif Consultant
  502.             http://www.rahul.net/kenton/
  503.  
  504.     o _Please_ put "For Motif FAQ" in the Subject line!
  505.       (This is the best way to catch my attention. Really.)
  506.  
  507.     o Please include answers with your FAQ questions.
  508.       (If are looking for an answer to your questions, you may
  509.       want to hire a consultant.  My company can do e-mail consulting.)
  510.  
  511.     o For coding-related issues, I would prefer a short textual
  512.       description of the your design rather than a long code sample.
  513.  
  514.     o If you do submit code, make sure it is well tested, portable,
  515.       and robust.
  516.  
  517.     o If you _do not_ want your name or email address listed
  518.       in the FAQ, explicitly state this.
  519.  
  520.  
  521. The information contained herein has been gathered from a variety of sources.
  522. In many cases attribution has been lost; if you would like to claim
  523. responsibility for a particular item, please let us know.
  524.  
  525. -----------------------------------------------------------------------------
  526. Subject:  1)  TOPIC: WHAT IS MOTIF?
  527.  
  528. -----------------------------------------------------------------------------
  529. Subject:  2)*  Is the Motif source code publically available?
  530. [Last modified: Jan 02]
  531.  
  532. Answer: On May 15, 2000 the Open Group released the Motif source code for
  533. Motif 2.1, using a public license, to the Open Source community.  On January
  534. 29, 2002, Open Motif 2.2 was released.
  535.  
  536. For more information on Open Motif, see:
  537.  
  538.     http://www.opengroup.org/openmotif/
  539.  
  540. This web site includes the latest announcements, open source license details,
  541. a FAQ and other documentation, and allows you to download the Motif source
  542. code.
  543.  
  544. Some other web sites dedicated to Open Motif are:
  545.  
  546.     http://www.motifzone.net/
  547.     http://www.metrolink.com/openmotif/
  548.  
  549.  
  550. -----------------------------------------------------------------------------
  551.  
  552. Subject:  3)*  What is Motif and how does it relate to the X Toolkit and X
  553. Window System?
  554. [Last modified: Jan 02]
  555.  
  556. Answer: Motif is a widely-accepted set of user interface guidelines developed
  557. by the Open Software Foundation (OSF) around 1989 which specifies how an X
  558. Window System application should "look and feel". Motif includes the Motif
  559. Toolkit (also called "Xm" or the "Motif widgets"), which enforce a policy on
  560. top of the X Toolkit Intrinsics ("Xt"). Xt is really a "mechanism not policy"
  561. layer, and Xm provides the specific "look and feel". For example, Xt does not
  562. insist that windows have titlebars or menus, but it provides hooks for
  563. developers of specific toolkits (Motif, OpenLook, Athena widgets) to take
  564. advantage of. In addition to widgets, Motif includes the Motif Style Guide
  565. document (as well as several others listed in my FAQ) which details how a
  566. Motif user interface should look and behave to be "Motif compliant".
  567.  
  568. The X Toolkit Intrinsics are built upon the lowest programming level API
  569. called "Xlib" (X library). Both Xlib and Xt are specified by the Open Group
  570. (formerly called the MIT X Consortium), which you can reach at:
  571.  
  572.     http://www.camb.opengroup.org/tech/desktop/x/
  573.  
  574. In early 1996, OSF merged with X/Open to form the Open Group.  At the
  575. beginning of 1997, the X Consortium closed and transfered ownership of its
  576. projects to the Open Group.  The Open Group continues development and support
  577. on the X Window System, Motif, CDE, and other technologies.
  578.  
  579. On May 15, 2000 the Open Group released the Motif source code, using a public
  580. license, to the Open Source community.  The current version of Open Motif 2.2,
  581. which was released January 29, 2002.  For more information, see:
  582.  
  583.     http://www.opengroup.org/openmotif/
  584.     http://www.motifzone.net/
  585.  
  586.  
  587. -----------------------------------------------------------------------------
  588. Subject:  4)  Where did the name "Motif" come from?
  589. [Last modified: Jun 98]
  590.  
  591. Answer: We had a contest inside of what was then The Open Software Foundation
  592. to name this thing that we had up to then called the UEC for User Environment
  593. Component.  Lots of things were suggested, but Motif was suggested by one of
  594. the employees.
  595.  
  596. Ken Flowers, k.flowers@opengroup.org
  597.  
  598. FYI - in the art world, a motif is a recurring artistic symbol or theme.  The
  599. meaning obviously carries over to the GUI world.
  600.  
  601. Ken Lee, http://www.rahul.net/kenton/
  602.  
  603. -----------------------------------------------------------------------------
  604. Subject:  5)  TOPIC: OTHER RELEVANT NEWSGROUPS AND FAQS
  605. [Last modified: Aug 98]
  606.  
  607. Answer: This newsgroup is "comp.windows.x.motif".  The WWW URL is:
  608.  
  609.     news:comp.windows.x.motif
  610.  
  611. Many other X-related newgroups and FAQs are available.  For a full list, see
  612.  
  613.     http://www.rahul.net/kenton/xsites.framed.html
  614.  
  615.  
  616. -----------------------------------------------------------------------------
  617. Subject:  6)  TOPIC: FAQ and NEWSGROUP FTP ARCHIVES
  618.  
  619. -----------------------------------------------------------------------------
  620. Subject:  7)  Is the FAQ available via FTP?
  621. [Last modified: Apr 98]
  622.  
  623. Answer: The Motif FAQ is available as a large single file on Kenton Lee's web
  624. site:
  625.  
  626.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ
  627.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.gz
  628.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html
  629.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html.gz
  630.  
  631. A number of FAQ's (including this one) are available via anonymous ftp at
  632. rtfm.mit.edu under the directory pub/usenet.
  633.  
  634. The Motif FAQ is available in 9 parts via anonymous ftp in any of the
  635. following directories at rtfm.mit.edu:
  636.  
  637.     /pub/usenet-by-group/comp.windows.x.motif
  638.     /pub/usenet-by-group/comp.answers/motif-faq
  639.     /pub/usenet-by-group/news.answers/motif-faq
  640.  
  641. There is also a mail server called mail-server@rtfm.mit.edu.  To retrieve a
  642. file send mail to the server with a subject or body similar to
  643.  
  644.     send usenet/comp.windows.x.motif/Motif_FAQ_(Part_1_of_9).Z
  645.  
  646.  
  647. The Motif FAQ is also available via anonymous ftp as a single file:
  648.  
  649.     /contrib/faqs/Motif-FAQ from ftp.x.org.
  650.  
  651. (See also "Is this FAQ accessible via WWW?")
  652.  
  653. -----------------------------------------------------------------------------
  654. Subject:  8)  Can I receive email notification when the Motif FAQ is updated?
  655. [Last modified: Sept 95]
  656.  
  657. Answer: Yes! Simply follow this link to "The URL-minder: Your Own Personal Web
  658. Robot!"
  659.  
  660.     http://www.netmind.com/URL-minder/URL-minder.html
  661.  
  662. and register the following ftp URL:
  663.  
  664.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ (text version)
  665.     or
  666.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html (HTML version)
  667.  
  668. This free service is brought to you by Netmind at:
  669.  
  670.     http://www.netmind.com/
  671.  
  672.  
  673. -----------------------------------------------------------------------------
  674. Subject:  9)  Is this FAQ accessible via WWW?
  675. [Last modified: Apr 98]
  676.  
  677. Answer: You can access the HTML version of this FAQ from my web site, either
  678. uncompressed (600KB) or compressed (180KB):
  679.  
  680.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html
  681.     ftp://ftp.rahul.net/pub/kenton/faqs/Motif-FAQ.html.gz
  682.  
  683. A list of other web sites (including mirror sites around the world) carrying
  684. text and HTML versions of this FAQ is available at:
  685.  
  686.     http://www.rahul.net/kenton/mfaq.html
  687.  
  688. Ken Lee
  689.  
  690. Thanks to Greg Ercolano (erco@netcom.com) for providing an awk script that
  691. converts my Motif FAQ to HTML.
  692.  
  693. -----------------------------------------------------------------------------
  694. Subject: 10)*  Is this newsgroup archived?
  695. [Last modified: Nov 98]
  696.  
  697. Answer: http://www.google.com/ archives several years of Usenet traffic.
  698.  
  699. -----------------------------------------------------------------------------
  700. Subject: 11)  TOPIC: OSF, MOTIF VERSIONS, CDE, COSE, DCE, The OPEN GROUP
  701.  
  702. -----------------------------------------------------------------------------
  703. Subject: 12)  How can I contact the Open Group?
  704. [Last modified: Aug 97]
  705.  
  706. Answer: For more information on the Open Group, including a list of e-mail and
  707. telephone contacts, see their WWW home page:
  708.  
  709.     http://www.opengroup.org/
  710.  
  711.  
  712. -----------------------------------------------------------------------------
  713. Subject: 13)  Where can I find OSF press releases on Motif and DCE?
  714. [Last modified: May 97]
  715.  
  716. Answer: The Open Group web page:
  717.  
  718.     http://www.rdg.opengroup.org/press/titles.htm
  719.  
  720. contains Motif and DCE press releases dating back to August, 1996.
  721.  
  722. -----------------------------------------------------------------------------
  723. Subject: 14)*  What versions of Motif are there?
  724. [Last modified: Jan 02]
  725.  
  726. Answer: Motif 1.0 is based on the R3 toolkit.  There are patch releases to
  727. 1.0: 1.0.1, 1.0.A, 1.0.2 and 1.0.3, 1.0.4, 1.0.5. 1.0.A was a fairly major
  728. patch, as it involved a complete re-engineering of UIL and Mrm.  Almost
  729. everyone who has 1.0.x has either 1.0.A or 1.0.3.
  730.  
  731. Motif 1.1 is based on the R4 toolkit.  The intial version was Motif 1.1.0.
  732. Motif 1.1.1 has been released as a patch to licensees with Full Support or
  733. Technical Update service.  Motif 1.1.2 is a patch release which contains the
  734. necessary changes to fix over 80 bugs reported against Motif. It is available
  735. to support contract holders (including both full support and update service).
  736. The 1.1.3 release fixed a further 150 bugs and was available from August 1991
  737. to support contract holders (including both full support and update service).
  738. 1.1.4 offers X11R5 support, but is not an X11R5 product.  1.1.5 was released
  739. in June 92 to licensees who hold a Motif Full Support or Update Support
  740. contract
  741.  
  742. Motif 1.2.0 was released in April 1992 and is based on the X11R5 toolkit.  It
  743. offers increased compatibility with international standards,  PC-style
  744. behavior and binary compatibility with Motif 1.1 applications.  New features
  745. include drag-and-drop, tear- off menus, toolkit enhancements and new
  746. documentation.  toolkit.  The code is totally ANSI C.
  747.  
  748. Motif 1.2.1 was released September, 1992.  Due to an optimisation from 1.2.0
  749. to 1.2.1 object code compiled under 1.2.1 (that is, using 1.2.1 header files)
  750. will not link with 1.2.0 libraries (and, very probably, clients that use
  751. shared libraries and are linked against 1.2.1 won't startup against 1.2).
  752.  
  753. Motif 1.2.2 was released March, 1993.  This release contains over 250 bug
  754. fixes, improved text, drag-and-drop features and has less than one reported
  755. defect per 1000 lines of code.
  756.  
  757. from dbrooks@osf.org Motif 1.2.3 was released on September 13, 1993.  The
  758. defect density is measured at < 0.8 known reports per thousand lines.  In this
  759. release, we have paid particular attention to memory leaks, and have improved
  760. drag-and-drop performance greatly.
  761.  
  762. Motif 1.2.4 was released April, 1994.  from the OSF README: This patch release
  763. contains approximately 240 bug fixes for Motif 1.2. The number of CRs resolved
  764. in this release is about 330....Apart from the 64-bit changes, all changes
  765. made in this release are fixes for reported bugs.
  766.  
  767. Motif 2.0 was released in August, 1994.  For details, see the questions "Is
  768. there a concise features list for Motif 2.0?" and "What are the details about
  769. new features in Motif 2.0?"  Due to binary compatibility problems, this
  770. release was not very popular with UNIX vendors.
  771.  
  772. Motif 1.2.5 was released June 15, 1995 ONLY to OSF Motif Support Licensees as
  773. part of their maintenance agreement.  Motif 1.2.5 includes minor enhancements
  774. to support CDE 1.0.  Vendors not supporting CDE generally ignored this release
  775. and continued to use Motif 1.2.4.
  776.  
  777. Motif 2.1 was released February 5, 1997.  For details, see the questions "Is
  778. there a concise features list for Motif 2.1?"
  779.  
  780. Open Motif 2.2 was released January 29, 2002.  For details, see the questions
  781. "Is there a concise features list for Motif 2.2?"
  782.  
  783. -----------------------------------------------------------------------------
  784. Subject: 15)*  How can I find which version of Motif I have? Xlib or Xt
  785. version?
  786. [Last modified: Jan 02]
  787.  
  788. Answer: The macro XmVERSION gives you the version number.  The macro
  789. XmREVISION gives you the major revision number.  The macro XmVersion combines
  790. these e.g. a value of 1002 is Motif 1.2.  In Motif 1.2, the macro
  791. XmUPDATE_LEVEL was added to give the minor revision number (also known as the
  792. patch level).
  793.  
  794. To find the version of a compiled Motif library:
  795.  
  796.     grep XmVERSION_STRING libXm.a
  797.  
  798. To find the Motif version at run-time, use the global variable:
  799.  
  800.     xmUseVersion
  801.  
  802. Ken Lee adds the following for determining the Xlib and Xt version:
  803.  
  804. X11/Xlib.h should have macros like this:
  805. #define XlibSpecificationRelease 6
  806. meaning X11R6.
  807.  
  808. Similarly, X11/Intrinsic.h has this in X11R6:
  809. #define XtSpecificationRelease 6
  810.  
  811.  
  812. -----------------------------------------------------------------------------
  813. Subject: 16)  Is there a concise features list for Motif 2.0?
  814. [Last modified: Sept 94]
  815.  
  816. Answer:
  817.  
  818. New widgets
  819.  
  820.    ComboBox.
  821.    Notebook.
  822.    Container/IconGadget.
  823.    SpinBox.
  824.    CSText.
  825.  
  826. New features
  827.  
  828.    Thermometer Scale and tic marks.
  829.    ScrollBar sliding/arrow and snapback modes.
  830.    ScrolledWindow autoscroll and childType.
  831.    Toggle indeterminate state and new visual.
  832.    Colors in Gadgets.
  833.    XmIm API for I18N.
  834.    XmNlayoutDirection resource everywhere.
  835.    Natural UnitType conversion syntax.
  836.    XPM3 (colored icon) format support.
  837.    The Uniform Transfer Model.
  838.    General Rendition attributes in XmString (color, multiple fonts, etc)
  839.    Several Display resources for CDE visual/behavior compatibility.
  840.    New FileSelectionBox mode (again from CDE).
  841.    Quick navigate in List.
  842.    Oriented PanedWindow.
  843.    Popup menus support.
  844.    and much more...
  845.  
  846. Extensibility
  847.  
  848.    Traits.
  849.    C++ foundry.
  850.    Widget writer doc.
  851.    Exm widget source examples.
  852.    Xme API (useful _Xm).
  853.  
  854. Desktop
  855.  
  856.    Virtual MWM.
  857.    Workspace Manager.
  858.    TearOff menu in MWM.
  859.    Client Command Interface.
  860.    Colored icon pixmaps (from Xm).
  861.  
  862. Performance & Quality
  863.  
  864.    No known Memory Leaks.
  865.    XmString sharing.
  866.    XmList creation/setup speedup.
  867.    GC usage improved.
  868.    Malloc/free usage.
  869.    Bitmap allowed for pixmap resources.
  870.    XmManager no longer blindly selects for PointerMotion
  871.    XmFileSelectionBox better stat cache.
  872.    Broader use of Hash tables.
  873.    Better link profile (Trait + remodularization).
  874.    X11R6 unofficial support.
  875.    Hundreds of bug fixes.
  876.  
  877.  
  878. -----------------------------------------------------------------------------
  879. Subject: 17)  What are the details about new features in Motif 2.0?
  880. [Last modified: Aug 97]
  881.  
  882. Answer: (See the previous question for a more compact features list.)
  883.  
  884.     NOTE: This is a posting by Douglas Rand that was composed by
  885.     one of the OSF business managers, Darrell Crow (crow@osf.org).
  886.     OSF also published a nice technical overview in the X Journal.
  887.     A copy of that report is available on-line at:
  888.     http://www.opengroup.org/tech/desktop/motif/xjournal.htm
  889.  
  890.  Date: 11 Jul 94 15:49:27 GMT
  891.  From: (Douglas Rand)
  892.  Organization: Open Software Foundation
  893.  Subject: Motif 2.0 announcement
  894.  To: uunet!lobo.gsfc.nasa.gov!motif
  895.  
  896. The following was composed by one of our business managers, Darrell Crow
  897. (crow@osf.org),  questions may be directed to him.
  898.  
  899. ----------------------------------------
  900.  
  901. With this posting I hope to answer many questions I've been receiving
  902. regarding what is in Motif 2.0 and how does if differ from Release 1.2.  This
  903. posting contains an overview followed by a bullet item listing of the features
  904. and benefits added to Motif in this release. If I didn't answer your questions
  905. feel free to direct them to me.  At the end, I'll list additional
  906. documentation available from OSF.  If you're also interested in the licensing
  907. and pricing information you can also contact me or the official OSF/Motif
  908. channel: direct@osf.org.  I hope that this information update is of benefit to
  909. you.
  910.  
  911. OSF/Motif has become the major Graphical User Interface (GUI) technology for
  912. Open Systems, as well as an IEEE 1295 standard.  On Tuesday, June 21, OSF
  913. announced its next major release of OSF/Motif, Release 2.0.   This release,
  914. which is the most extensive and colaborative release of Motif since Motif 1.0
  915. was introduced five years ago, includes new features organized around four
  916. major themes:
  917.         I.  Extensibility,
  918.         2.  Consistency,
  919.         3.  Improvements and
  920.         4.  CDE Convergence.
  921.  
  922. Motif 2.0 was a collaborative development effort.  Contributors to this
  923. release include Lotus Development, IBM, Hewlett-Packard, Digital Equipment,
  924. Integrated Computer Solutions, Computer Automation,  Groupe Bull, HaL Computer
  925. Systems and Unix Systems Laboratories.
  926.  
  927. This release had the goal of allowing developers to easily build new widgets
  928. and with support for C++ .  This required new extensible features such as
  929. subclassing, traits, C++ support and detailed documentation.  Like all Xt-
  930. based toolkits, subclassing requires detailed knowledge, experience and access
  931. to the source code to fully understand Motif's class methods.  Motif 2.0
  932. simplified this process by providing extensive documentation and allowing
  933. subclassing from the Primitive and Manager classes without requiring access to
  934. source code. Documentation of Motif's class methods are included in a new
  935. book, The OSF/Motif Widget Writer's Guide. This book provides all necessary
  936. information to subclass from Primitive and Manager and numerous examples of
  937. subclassing are provided.   Traits are a new feature with Motif 2.0 which
  938. essentially allow a given behaviour to be associated to a widget irrespective
  939. of the widget hierarchial relationships. The number of applications developped
  940. in C++ is rapidly growing and C++ programmers are now able to derive new
  941. subclasses and still have those C++ widgets usable as regular widgets with the
  942. standard API in Motif 2.0
  943.  
  944. CDE (Common Desktop Environment) convergence.  The previous version of
  945. OSF/Motif (Release 1.2) introduced major new features such as
  946. internationalization, drag-and-drop and tear-off menus. Those features were
  947. intended to allow application developers to produce interoperable, easy to use
  948. applications for a worldwide market. As a result, this technology was selected
  949. to become the basis of the Common Desktop Environment jointly developed by HP,
  950. IBM, Novell and SunSoft, proposed to become an X/Open standard. These features
  951. as well as the GUI extensions added to the CDE specifications have been added
  952. to Release 2.0.
  953.  
  954. PC Consistency has been a major theme of this release.  This includes
  955. improvements and completions to the toolkit that was begun with Motif 1.2 as
  956. well as the addition of seven new widgets (Container, Notebook, icon gadget,
  957. spinbox, combobox, CSText and thermometer) common to this environment and
  958. finally a new Style Guide.  Extensive work has been expended to ensure the
  959. convergence of the Windows, CUA, CDE and Motif style both in technology and
  960. terminology into a single document.  The work for this book will be submitted
  961. to the X/Open Fast Track process for incorporation into the X/Open set of
  962. specifications.
  963.  
  964. Improvements to the OSF/Motif toolkit are far too numerous to adequately list
  965. here.  However a brief mention of a few of the major improvements includes the
  966. addition of the Unified Transfer Model that simplifies data transfer by all
  967. Motif's previous methods,  XPM support (ability to read colored icon file for
  968. pixmap resources), ScrolledWindow partial scroll and autodrag,Toggle
  969. checkmark, indeterminate state, documenting the input methods API for
  970. internationalization, upgrading UIL to support 64-bit architecture, platform
  971. independence, and support of the new extensibility features and widgets, and
  972. finally the Motif Window Manager support of virtual screen, workspace
  973. management protocol and root menu additions and etc.
  974.  
  975. This release brings together the most requested features from development
  976. community with the single purpose of extending application developers' mission
  977. of producing portable, consistent and interoperable applications to the open
  978. systems  community.
  979.  
  980. Listing of the OSF/MotifR 2.0 Features and Benefits
  981.  
  982. I.  MORE EFFICIENT APPLICATION DEVELOPMENT
  983.  
  984. Easier application development to meet new business opportunities and deploy
  985. applications faster...
  986.  
  987. Benefit Allows easier extensions to Motif for custom user
  988.  
  989.  
  990. Features:
  991. *  New, formal Xme API for integrating custom widgets interfaces,
  992.    without access to Motif source code
  993. *  All extensions using Xme API are "full citizens"
  994. *  Widgets may be added to off-the-shelf Motif products, without
  995.    recompiling Motif source code
  996. *  Manager and primitive widget subclassing
  997. *  C++ base classes provided for C++ widget development
  998. *  C++ is used for inheritance, but X intrinsics are used for other
  999.    characteristics
  1000. *  Trait mechanism for OSF/Motif widgets, allowing "multiple
  1001.    inheritance" of C class methods
  1002. *  Extensibility fully documented in Widget Writer's Guide, and
  1003.    Reference documentation
  1004. *  New OSF training: Widget Writing with Motif 2.0
  1005. *  Examples of custom widgets in C and C++
  1006.  
  1007. Feature:
  1008. Makes it easier for C++ developers to use Motif
  1009.  
  1010. Benefit:
  1011. *  Motif source code compilable by C++ compiler
  1012. *  Ability to integrate C++ widget extensions (above)
  1013.  
  1014. Feature:
  1015. Allows easier exploitation of Motif features for end user benefits
  1016.  
  1017. Benefit:
  1018. XmNotebook
  1019. *  Subclass of XmManager
  1020. *  Organizes children into pages, tabs, status area and page scroller
  1021. XmContainer
  1022. *  Subclass of XmManager
  1023. *  Manages IconGadget children
  1024. XmIconGadget
  1025. XmComboBox
  1026. *  Subclass of XmManager
  1027. *  Combines capabilities of a single line
  1028.         XmTextField and XmList
  1029. XmSpinBox
  1030. *  Subclass of XmManager
  1031. *  Manages multiple traversable children
  1032. XmScale (thermometer) widget
  1033. *  Subclass of XmManager
  1034. *  New resources added for thermometer behavior
  1035. XmCSText
  1036. *  Subclass of XmPrimitive
  1037. *  Provides facilities which parallel XmText, but using XmString
  1038.  
  1039. Uniform transfer model for primary transfer,
  1040. *  secondary transfer, cut and paste, drag and drop
  1041.         Uniform API (with backward compatibility)
  1042.         2 new callback functions for target identifcation
  1043.  
  1044. Misc. toolkit enhancements:
  1045. *  Menu system
  1046.         Simplified programming of popup menus
  1047.         Source code reorganization
  1048. *  X pix map (XPM) format, with multicolor icons
  1049.  
  1050. Misc. toolkit enhancements (continued):
  1051. *  New rendering characteristics for XmString:
  1052.         renditions (fonts, color), tabs, localization
  1053.         components, parsing
  1054. *  List -- Quick navigate
  1055. *  Traversal -- drawing area traversable via keys,
  1056.         virtual key associated with multiple real keys
  1057. *  Visuals (in addition to Toggle Button)
  1058. *  XmScreen resources
  1059. *  Resolution independence -- unit conversion
  1060.  
  1061. UIL enhancements:
  1062. *  Support for new and custom widgets
  1063. *  UID files -- platform independence
  1064. *  64-bit architecture support
  1065.  
  1066. Updates to documentation: Programmer's Guide, Reference
  1067.  
  1068. Updates to OSF training:
  1069. *  Introduction to Programming
  1070. *  User Interface Design
  1071. *  2.0 Technical Update
  1072.  
  1073. Feature:
  1074. Allows easy integration of applications with Common Desktop
  1075. Environment (CDE)
  1076.  
  1077. Benefit:
  1078. *  Contains foundation GUI for CDE
  1079. *  Client-command interface allowing other clients to add commands to
  1080. MWM menus
  1081.  
  1082. Feature:
  1083. Allows easy migration of applications to Motif 2.0
  1084.  
  1085. Benefit
  1086. *  Upward binary compatibility of Motif 1.2 toolkit API
  1087.         (Motif 1.2 applications need only re-link)
  1088.  
  1089. Feature
  1090. Makes applications easier to troubleshoot & maintain
  1091.  
  1092. Benefit
  1093. *  Overall quality improvements in Motif
  1094. *  Default density lower than 0.5 DPKLOC
  1095.  
  1096. EASE OF USE
  1097.  
  1098. Ease of use by individual computer users... at the application user
  1099. interface level...
  1100.  
  1101. Feature:
  1102. Satisfies rising user expectations for ease of use, leveraging
  1103. experience with other user interfaces
  1104.  
  1105. Benefit:
  1106. User interface capabilities equivalent to those on PCs:
  1107. *  Notebook widget
  1108. *  Container widget
  1109. *  ComboBox widget
  1110. *  SpinBox widget
  1111. *  Scale (thermometer) widget
  1112. *  Availability of formatted editable text
  1113.         Compound String text widget
  1114.         Compound String enhancements to support color, tabs, multiple
  1115.           fonts, etc.
  1116. *  Auto Scrolling
  1117. *  Vertical Paned Window
  1118. *  Update to User Guide
  1119.  
  1120. Ease of use by individual computer users... at the desktop level...
  1121.  
  1122. Feature:
  1123. Allows easier integration with the desktop
  1124.  
  1125. Benefit:
  1126. *  Contains foundation GUI for Common Desktop Environment (CDE)
  1127. *  Tear-off menu support of mwm's root menu
  1128.  
  1129. Feature:
  1130. Allows more natural organization of users' work
  1131.  
  1132. Benefits:
  1133. *  Virtual screen (desktop panning) support
  1134. *  Workspace management protocol
  1135.         (for third party workspace management solutions that
  1136.         allow users to switch computing context "rooms" for
  1137.         different tasks)
  1138.  
  1139. EASE OF ENTERPRISE COMPUTING
  1140.  
  1141. Easier integration of Motif  and Motif applications into the
  1142. enterprise computing environment...
  1143.  
  1144. Feature:
  1145. Increases consistency of user interface style across platforms &
  1146. applications; increases user skill portability
  1147.  
  1148. Benefits:
  1149. *  Motif 2.0 Style Guide work Technical and terminology convergence
  1150.         among Motif, CDE and CUA
  1151. *  New widget support of converged style
  1152. *  Increased similarity to Windows & CUA behavior:
  1153.         Check marks and crosses in Toggle Button
  1154.         Indeterminate state in Toggle Button
  1155.         Ctrl Button 1 takes focus
  1156.         Menu unpost behavior
  1157.         Quick navigate in list
  1158.  
  1159. Feature:
  1160. Increases consistency of a complete user environment across open
  1161. systems
  1162.  
  1163. Benefits:
  1164. *  Consistency with the X/Open CDE specification, including virtually
  1165.         all CDE Motif vendor extensions:
  1166.         XmCascadeButton activation via BMenu
  1167.         Enhanced XmFileSelectionBox
  1168.         Default XmNshadowThickness to 1
  1169.         Thermometer-style XmScale
  1170.         Color pixmaps in XPM format
  1171.         Additional virtual key bindings
  1172.         SpinBox, ComboBox
  1173.         Message catalogs for toolkit error messages
  1174.         Other items controlled by a global resource:
  1175.           ColorObject (standarizes colormap allocation for
  1176.            applications, to enable use of Style Manager application)
  1177.         BSelect and BTransfer integration
  1178.         Dragging non-selectable items disabled
  1179.         Use of TAB key -- XmPushButton navigation
  1180.         Visual additions to XmToggleButton
  1181.         Visual modifications to menus (etched in)
  1182.         Visual modifications to default button in dialogs (focus
  1183.           highlight outside of default visual)
  1184.         Visual modifications to MWM
  1185.         Additional drag icons
  1186. *  Compliance with IEEE 1295 standard
  1187. *  Consistency of Motif vendor implementations:
  1188.         AES Rev D for API stability
  1189.         Validation Test Suite 2.0 for certification
  1190.         Updated Quality Assurance Test Suite for consistency in
  1191.           quality
  1192. *  Continued support of the X Window system (based on
  1193. *  X11R5; tested also with X11R6 )
  1194.  
  1195. Feature:
  1196. Ease of integrating Motif and PC environments
  1197.  
  1198. Benefits:
  1199. *  Favorable licensing terms to support:
  1200.         PC client-server computing
  1201.         Deployment of PC applications using Motif DLLs
  1202. *  Style convergence to support hybrid user environments
  1203.  
  1204.  
  1205. WORLD-WIDE ACCEPTANCE
  1206.  
  1207. Even more acceptable as the preferred user interface for Open Systems,
  1208. worldwide...
  1209.  
  1210. Feature
  1211. Applicable to a wider range of computer users
  1212.  
  1213. Benefits:
  1214. *  Internationalization enhancements:
  1215.         New API for widget writers to make use of input methods
  1216.         Higher level of internationalization for Middle Eastern
  1217.           languages:
  1218.         Bi-directional layout -- left-to-right/right-to-left geometry
  1219.           management
  1220.         Bi-directional text editing -- left-to-right/right-to-left,
  1221.           single level (unsupported)
  1222. *  64-bit architecture support
  1223. *  Favorable licensing terms to support:
  1224.         Single user systems
  1225.         Embedded systems
  1226.         Cross-vendor Motif upgrades
  1227.         Shared library distribution with applications
  1228. *  Performance
  1229.         Memory usage
  1230.         Start-up time, for list widget
  1231.         Decreased X resource usage
  1232.         Various optimizations
  1233.  
  1234. ADDITIONAL AVAILABLE DOCUMENTS FROM OSF.
  1235.         OSF/Motif 2.0 Datasheet
  1236.         OSF/Motif 2.0 Price List
  1237.         OSF/Motif 2.0 Licensing Kit
  1238.         OSF/Motif 2.0 Laymen's Explanation
  1239.         OSF/Motif 2.0 FAQ
  1240.         X/Journal July-August Feature Article on Motif 2.0
  1241.  
  1242. FOR MORE INFORMATION ABOUT OSF/MOTIF 2.0, PLEASE CONTACT OSF DIRECT CHANNELS
  1243. AT: (617)621-7300; email: direct@osf.org
  1244.  
  1245. OSF and Motif are registered trademarks of the Open Software Foundation, Inc.
  1246.  
  1247.  [end of message from Darrell Crow (crow@osf.org)]
  1248.  
  1249. -----------------------------------------------------------------------------
  1250. Subject: 18)  Is there a concise features list for Motif 2.1?
  1251. [Last modified: Aug 97]
  1252.  
  1253. Answer: The Open Group's press release for Motif 2.1 is available at:
  1254. http://www.rdg.opengroup.org/press/5feb97.htm
  1255.  
  1256. A technical report is also available at:
  1257. http://www.opengroup.org/tech/desktop/motif/motif.data.sheet.htm
  1258.  
  1259. The major differences from Motif 2.0 are:
  1260.  
  1261. 1) The CS text widget from Motif 2.0 is not included.
  1262.  
  1263. 2) Motif 2.0 word-size independent UID files are no longer supported.  Only
  1264. the Motif 1.2 word-size dependent format is supported.
  1265.  
  1266. 3) To promote convergence with dtwm, mwm's panning, virtual screen, and
  1267. workspace features have been removed
  1268.  
  1269. 4) Support was added for the X print server, including a new print dialog
  1270. widget
  1271.  
  1272. 5) The Motif libraries are now thread-safe (if the underlying libraries and
  1273. system are also thread-safe)
  1274.  
  1275. 6) Several internationalization features were added, including an on-the-spot
  1276. input method and vertical text writing
  1277.  
  1278. 7) Motif 2.1 is based on X11R6.2 and will work properly with X11R6.3
  1279.  
  1280. -----------------------------------------------------------------------------
  1281. Subject: 19)+  Is there a concise features list for Motif 2.2?
  1282. [Last modified: Jan 02]
  1283.  
  1284. Answer: The Open Group's press release for Open Motif 2.2 is available at:
  1285.  
  1286. http://www.opengroup.org/openmotif/openmotif-2.2.html
  1287.  
  1288. OpenMotif 2.2 updates OpenMotif 2.1.30.  The major change is the addition of
  1289. 10 new widgets:
  1290.  
  1291. 1) XmButtonBox
  1292. 2) XmColorSelector
  1293. 3) XmColumn
  1294. 4) XmDataField
  1295. 5) XmExt18List
  1296. 6) XmFontSelector
  1297. 7) XmIconBox
  1298. 8) XmIconButton
  1299. 9) XmTabStack
  1300. 10) XmTree
  1301.  
  1302. In addition, a ToolTips feature is implemented within the XmPrimitive and
  1303. XmGadget classes.
  1304.  
  1305. ---------------------------------------------------------------------------
  1306. END OF PART ONE
  1307.