# do a 1 event loop iteration # process any Tk events like mouse moves/button presses/etc 1 while $MW->DoOneEvent( ALL_EVENTS | DONT_WAIT ); # or even a simple $mw->update; #or get the scrollbar and update it $scrollbar->update