[pygtk] How can I suppress redraw of a gtk.ScrolledWindow and children until I'm done changing stuff?

Joel Hedlund yohell at ifm.liu.se
Mon Oct 27 03:48:33 WST 2008


John Finlay wrote:
> Joel Hedlund wrote:
>> So, how can I suppress redraws on a gtk.ScrolledWindow and its 
>> children until I'm done changing stuff?
>>   
> Try:
> 
> http://pygtk.org/docs/pygtk/class-gdkwindow.html#method-gdkwindow--freeze-updates 

OK, I tried freeze-thawing around the resize, around adj.value change 
and both. I tried freeze-thawing S.window, S.child.window, 
S.child.child.window, S.child.child.child.window and all of them. None 
of that had any effect. Maybe I'm doing it wrong?

/Joel


More information about the pygtk mailing list