Hi,
Chris Rouch wrote:
I have a table containing buttons containing boxes containing icons and or labels.
I want to change many of these boxes at once (e.g. replacing the icons with labels of vice versa). I do this by removing the children and creating new ones. I don't want to see the changes until they are all complete.
So, is there a way to prevent the boxes updating until I tell them to? And if there is, how do I tell them to update once I'm ready?
I had hoped that
box.freeze_notify()
would do the trick, but it doesn't :-(
freeze_notify() only stops property notifications (which happen when you set a property using set_property()).
I've attached a small example that shows what happens. When the timer is run after 5 seconds, the display is updated immediately. I'd like the display to remain unchanged until I tell it to.
AFAIK the updates are done as soon as the timer function is ended, when the main loop is active again.
The updates are done though idle functions, which are called from within the main-loop. There is no way that you can prevent the screen from updating (at least no legitimate way).
Hope this helps,
Arjan
Thanks and regards,
Chris
------------------------------------------------------------------------
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
