home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21574 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!irz401!irs132.inf.tu-dresden.de!beck
  2. From: beck@irs132.inf.tu-dresden.de (Andre Beck)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: How to incorporate Xlib-based GUI into a Motif-based GUI? HELP!
  5. Keywords: XLIB, MOTIF
  6. Message-ID: <1k3iikINN15p@irz401.inf.tu-dresden.de>
  7. Date: 26 Jan 93 14:41:24 GMT
  8. References: <1k0970$lq0@nigel.ee.udel.edu>
  9. Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
  10. Organization: Dept. of Computer Science, TU Dresden, Germany.
  11. Lines: 20
  12. NNTP-Posting-Host: irs132.inf.tu-dresden.de
  13.  
  14.  
  15. Hi,
  16.  
  17. Motif provides you with a simple Widget exactly for this purpose, that is
  18. called XmDrawingArea. You can take any Xlib calls, and let them work onto
  19. the XtWindow(drawingAreaWidget).
  20.  
  21. It's also possible to use a core widget for this, but Motif provides
  22. add-on-functionality with drawingArea's.
  23.  
  24. The only problem is that you have to change the event-getting-loop of the
  25. original Xlib client somehow to match the Xt event dispatching rules.
  26. (XtAddEventHandler f.i.)
  27.  
  28. --
  29. +-o-+--------------------------------------------------------------+-o-+
  30. | o |                \\\-  Brain Inside -///                       | o |
  31. | o |                    ^^^^^^^^^^^^^^                            | o |
  32. | o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.DE | o |
  33. +-o-+--------------------------------------------------------------+-o-+
  34.