From: Sebastian S. <seb...@gm...> - 2004-12-01 18:44:39
|
On Wed, 01 Dec 2004 08:45:14 +0100, Daan Leijen <da...@cs...> wrote: > Sebastian Sylvan wrote: > > Is there any way to force the program to process pending events? > > > > The specific situation is this. I add a bunch of stuff to a listbox > > and after each addition I would like the listbox to update itself so > > that the change is visible immidiatly. As it is now the changes are > > only visible after I've added ALL the items to the listbox. > > I think you can say "repaint w" to your widget "w" that needs to be > updated. > The problem is that it won't get repainted until after the loop has finished =( /S -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862 |