home *** CD-ROM | disk | FTP | other *** search
- 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
- From: beck@irs132.inf.tu-dresden.de (Andre Beck)
- Newsgroups: comp.windows.x
- Subject: Re: How to incorporate Xlib-based GUI into a Motif-based GUI? HELP!
- Keywords: XLIB, MOTIF
- Message-ID: <1k3iikINN15p@irz401.inf.tu-dresden.de>
- Date: 26 Jan 93 14:41:24 GMT
- References: <1k0970$lq0@nigel.ee.udel.edu>
- Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
- Organization: Dept. of Computer Science, TU Dresden, Germany.
- Lines: 20
- NNTP-Posting-Host: irs132.inf.tu-dresden.de
-
-
- Hi,
-
- Motif provides you with a simple Widget exactly for this purpose, that is
- called XmDrawingArea. You can take any Xlib calls, and let them work onto
- the XtWindow(drawingAreaWidget).
-
- It's also possible to use a core widget for this, but Motif provides
- add-on-functionality with drawingArea's.
-
- The only problem is that you have to change the event-getting-loop of the
- original Xlib client somehow to match the Xt event dispatching rules.
- (XtAddEventHandler f.i.)
-
- --
- +-o-+--------------------------------------------------------------+-o-+
- | o | \\\- Brain Inside -/// | o |
- | o | ^^^^^^^^^^^^^^ | o |
- | o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.DE | o |
- +-o-+--------------------------------------------------------------+-o-+
-