home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5654 < prev    next >
Encoding:
Text File  |  1992-08-17  |  773 b   |  22 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!ods!chris
  3. From: chris@ods.com (Chris Atkins)
  4. Subject: How to add displays to app cntext
  5. Message-ID: <1992Aug17.182752.2118@ods.com>
  6. Organization: Optical Data Systems, Inc.
  7. X-Newsreader: Tin 1.1 PL5
  8. Date: Mon, 17 Aug 1992 18:27:52 GMT
  9. Lines: 11
  10.  
  11. An alternative solution to having multiple application contexts each with one 
  12. display is to have one application context and add multiple displays to it. 
  13. Using this approach, Xt does the work of detecting input from one of multiple 
  14. displays for you via XtAppMainLoop.
  15.  
  16. To add a display to an application context, you can use XtOpenDisplay which 
  17. opens the display, builds the resource database, and adds the display to the
  18. application context.
  19.  
  20. Chris Atkins
  21. chris@ods.com
  22.