"V H" wrote:
> The function what I implemented takes 30 seconds. Before running it I want
> to give some message to user by displaying them in the widget 'Text'. Seems
> it's not useful because the message are always displayed after the excution.
> Could you help me to resolve it?
call self.text.update_idletasks() or self.text.update() after you've modified
the contents, but before you enter the test loop. it's probably easiest to
add it to the addMessage method:
def addMessage(self,message):
self.text.insert(END,self.getCurrentTime())
self.text.insert(END,message)
self.text.insert(END, '\n')
self.text.update_idletasks() # <-- force update
</F>