[wxPython-users] gtk: size event
Robin Dunn
robin at alldunn.com
Mon Mar 5 10:36:01 PST 2007
Franz Steinhaeusler wrote:
> Hello,
>
> I thought I open for every small subject an own thread
> to have it more concise.
>
> (I always speak of DrPython, here I saw the issues).
>
> On Windows it is working.
> Both on Windows and Linux I'm running wxPyhton 2.8.1.1 Unicode.
>
> I have a notebook tab with a styled text control, similar as in demo.
> When resizing, it seems the size event delivers false sizes or
> is not fast enough, so resizing the frame results often in big
> gray areas, where stc fills not even the half of the size.
Do the gray areas remain after the sizing is done, or are they just
visible during the sizing?
There are a couple possibilities here: First, I think that the priority
of size events is different on wxGTK, especially for top level windows.
This is because the window manager is involved in the process, and so
it is not as integrated in the app or system as it is on MSW. Second,
there was a report on wx-dev recently that the size in the event object
in EVT_SIZE events was different on wxGTK. On one it was the previous
size and on the others it was the new size, or something like that....
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list