home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / toolkits / xview / 1252 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.3 KB  |  35 lines

  1. Newsgroups: alt.toolkits.xview
  2. Path: sparky!uunet!think.com!spool.mu.edu!yale.edu!newsserver.jvnc.net!phage!boutell
  3. From: boutell@isis.cshl.org (Tom Boutell)
  4. Subject: Painting Canvases Outside of WIN_REPAINT
  5. Message-ID: <C1KLJ3.8DM@phage.cshl.org>
  6. Sender: news@phage.cshl.org
  7. Organization: Cold Spring Harbor Labs
  8. Date: Thu, 28 Jan 1993 15:25:51 GMT
  9. Lines: 24
  10.  
  11. I'm at my wit's end with this one; hope someone can help.
  12.  
  13. I'm doing my best to use the CANVAS package. I can paint canvases
  14. fine when WIN_REPAINT events occur and my handler is called
  15. (when the window is first displayed, or has been obscured, or what
  16. have you). But when I call my repaint procedure directly myself
  17. in order to reflect new information, nothing happens. When I
  18. use the window manager to refresh the window, however, generating
  19. another repaint call, the display *does* repaint.
  20.  
  21. Has anyone else shared this experience, and do you know a solution
  22. to the problem? I've verified that I am indeed passing the
  23. same arguments as are passed by "real" repaints; the Xlib code
  24. that does the drawing executes, it just doesn't *do* anything.
  25. Help!
  26.  
  27. Please respond by email; I'll summarize if there's interest.
  28.  
  29. -T
  30.  
  31. -- 
  32. Tom Boutell, boutell@cshl.org
  33.  
  34. Clausthaler is the best non - alcoholic beer in the known universe.
  35.