Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!bionet!agate!ucbvax!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: using XtIsManaged or XtIsRealized Message-ID: <8904141416.AA21116@expo.lcs.mit.edu> Date: 14 Apr 89 14:16:39 GMT References: <2418@lll-lcc.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 13 Your original question: > The >images will change depending on what the user wants to look at, so I >need to be able to "wipe out" the image in a Core widget and then redo >it with the new image. Set the window background pixel to the white pixel of the screen, then clear the window: XSetWindowBackground(dpy, win, WhitePixel(dpy, screen_number)); XClearWindow(dpy, win);