Article View: comp.windows.x
Article #36574Xlib drawing routines in DEC widgets
From: David Mitchell
Date: Thu, 08 Feb 1990 19:43
Date: Thu, 08 Feb 1990 19:43
13 lines
1054 bytes
1054 bytes
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
Technical Details
Message-ID:
<9002081943.AA01411@brahms.cs.byu.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!BRAHMS.CS.BYU.EDU!dmitcShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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