Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!BRAHMS.CS.BYU.EDU!dmitc From: dmitc@BRAHMS.CS.BYU.EDU (David Mitchell) Newsgroups: comp.windows.x Subject: Xlib drawing routines in DEC widgets Message-ID: <9002081943.AA01411@brahms.cs.byu.edu> Date: 8 Feb 90 19:43:06 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 13 I used DwtMainWindow to create a main window widget which seemed to work fine. I also defined menu widgets as children of the main window widget. I also defined a widget for drawing (lines, rectangles etc.) by using the DwtWindow call. I get the screen, display, and window from the XtScreen, XtDisplay, and XtWindow calls using the widget I defined for drawing as the argument for these calls. When I then use these returned values to XDrawLine the line will not appear on the display. Can anyone help me with this? Example code would be most helpful. Dave Mitchell email address: dmitc@brahms.byu.edu