home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!ods!chris
- From: chris@ods.com (Chris Atkins)
- Subject: How to add displays to app cntext
- Message-ID: <1992Aug17.182752.2118@ods.com>
- Organization: Optical Data Systems, Inc.
- X-Newsreader: Tin 1.1 PL5
- Date: Mon, 17 Aug 1992 18:27:52 GMT
- Lines: 11
-
- An alternative solution to having multiple application contexts each with one
- display is to have one application context and add multiple displays to it.
- Using this approach, Xt does the work of detecting input from one of multiple
- displays for you via XtAppMainLoop.
-
- To add a display to an application context, you can use XtOpenDisplay which
- opens the display, builds the resource database, and adds the display to the
- application context.
-
- Chris Atkins
- chris@ods.com
-