[pygtk] Preventing Window Refresh
damienlmoore at gmail.com
Sat Jul 4 08:57:16 WST 2009
Unfortunately, wrapping the sequence with window hide/show doesn't help.
I spent a little time tracing my code. After my sequence of calls:
the following happens
1. the requested widgets get hidden,
2. a configure event gets sent telling my widgets to use the full extent of
3. the window goes full screen
4. another configure event occurs telling my widgets to use the full screen.
This sequence seems to happen irrespective of what order I make the
hide/fullscreen calls (i.e. if I make the fullscreen call first, the hide
events seem to occur before the fullscreen event)
I need some mechanism to prevent the first configure (at step 2) from
happening or ignoring it because it looks really ugly....
On Fri, Jul 3, 2009 at 11:06 AM, Alessandro Dentella <sandro at e-den.it>wrote:
> > This works but looks terrible as the window seems to refresh after each
> > gets hidden. what I want to know is if there is a way to block
> > and refresh of the window during each of these intermediate steps? e.g.
> > something like:
> What if you do:
> would it be better or worse?
> Sandro Dentella *:-)
> http://sqlkit.argolinux.org SQLkit home page -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pygtk