Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Set Values Widget Routine Message-ID: <9006061556.AA26804@expo.lcs.mit.edu> Date: 6 Jun 90 15:56:46 GMT References: <100920227@hpcvlx.cv.hp.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 20 > > ... I can't figure out who is doing the erasing. > The XtSetValues routine calls XClearArea on the widget. It's kind of a > simplistic way to generate a "safe" expose on the widget. Slight clarification: If a widget's SetValues method (or any of its ancestors SetValues methods since this is a chained class method) returns TRUE the intrinsics will clear the widget's window, and generate an exposure event for that window. I will refer you to the Intrinsics specification, section 9.7.2.1 paragraph 10, for further details. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213