Hi List.
I have not been successful in identifying the new width of a window,
after the window has been resized (more precisely: maximized or restored).
It appears that at the time the SEL_CONFIGURE event is sent to the main
window, the main window's self.width property still contains the
previous size. Thus, when the window is being maximized, self.width
reports a smaller number, and when the window is being restored back to
its original size, then self.width reports the higher number
representing the width at the time window was still maximized. The
<data|root|last>_x properties reported by FXEvent also report the (same)
previous value.
Is this a bug or the intended behavior? Is there some way to retrieve
the width (height) of the maximized window, when maximizing a window
generates a SEL_CONFIGURE event?
TIA,
Joseph
|