[wxPython-users] Freezing the top frame?
Robin Dunn
robin at alldunn.com
Mon Oct 22 23:27:07 PDT 2007
Don Dwiggins wrote:
> Robin Dunn wrote:
>> Chris Mellon wrote:
>>
>>> I saw the little black square in the notebook, but honestly I consider
>>> that small glitch to be better than the transparency behavior.
>>
>> I've made a change that appears to avoid both problems. I recently
>> added a panel under the AUI splitter panes to work around an AUI
>> glitch on OS X 10.3, so I moved the Freeze call to that panel and that
>> seems to work just as well at avoiding flicker without allowing the
>> windows under the frame to paint through.
>>
>
> Can we generalize this to advice for other applications that might use
> Freeze on the frame: always have a "frame-filling" child panel that
> contains the rest of the windows, and that you Freeze instead of the frame?
>
Yes, but we talked on wx-dev about doing that automatically if Freeze is
called on a top-level window.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list