Exposure handling
Bill <[email protected]> Wed, 08 Feb 2006 09:23:32 -0500
| Newsgroups | gmane.lisp.clx.devel |
|---|---|
| Message-ID | <[email protected]> |
CLX Lispers, This may or may not be a problem, but it's one of those things that bothers me. I seem to get too many expose events when I put up a screen. For instance, if I do a list box with ten items I seem to get more than ten exposures for the main listbox window. This could be normal, or it could be because of the design of my code. The layout manager I'm designing calls for the listbox main window to be sized and exposed before the item windows, which seems to be a different approach from what I've seen done elsewhere. Is this a real problem and is it causing the multiple exposures? (It would seem that it is) If so, is there a way to stop the multiple exposures? Is there an accepted (or required) order in which things should be done? Or should I just ignore the multiple exposures? (The screen looks and works fine) Obviously, I can change my code to do the sizing and placement before any exposures are done if that's what's required. What I don't know is how many exposures there are supposed to be in a widget made up of multiple parts or, in fact, how the multiple part widget should be constructed, mapped, and exposed in the first place. Bill _______________________________________________ Portable-clx mailing list [email protected] http://lists.metacircles.com/cgi-bin/mailman/listinfo/portable-clx See http://www.cliki.net/clx for darcs URL(s)