Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!bloom-beacon!dont-send-mail-to-path-lines
From: djones@mltga.UUCP
Subject: Re: Motif DrawingArea to OL Intrinsics
Message-ID: <9106101147.AA16880@expo.lcs.mit.edu>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Date: 10 Jun 91 11:40:00 GMT
Lines: 18


To !bschoen@well.sf.ca

I could'nt reach you by mail for some reason, hence the posting.

I had exactley the same problem, in converting a MOTIF application.
In the end I used the stubb widget. This provides callbacks for expose
events and resize events. I use XDraw routines using the window id of the widget.
To get button presses and mouse motion I add event handlers for ButtonMotionMask and
ButtonReleaseMask.

Have Fun

David G Jones
-------
Mail:   mlgtw!mltga!djones@ihlpa.att.com
Voice: +44 666 822861 xtn 2273

