🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36619

Re: Xlib drawing routines in DEC widgets

#36619
From: Donna Converse
Date: Fri, 09 Feb 1990 18:51
12 lines
1086 bytes
> 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.

The error is probably that didn't know that you have to wait until you receive 
the first expose event on the drawing widget's window before you begin to draw.

converse@expo.lcs.mit.edu
Technical Details
Message-ID: <9002091851.AA01326@expo.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse
References: <9002081943.AA01411@brahms.cs.byu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse
From: converse@EXPO.LCS.MIT.EDU (Donna Converse)
Newsgroups: comp.windows.x
Subject: Re: Xlib drawing routines in DEC widgets
Message-ID: <9002091851.AA01326@expo.lcs.mit.edu>
Date: 9 Feb 90 18:51:16 GMT
References: <9002081943.AA01411@brahms.cs.byu.edu>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: X Consortium, MIT Laboratory for Computer Science
Lines: 12