one line is all you need to change.
def execute(self):
self.addMessage(' Start testing')
tk.update()
for i in range(10000):
for j in range (2000):
i*j
self.addMessage(' Finish testing')
BTW, it's customary, though certainly not necessary, to call your main
window 'root' (you used 'tk').
cheers,
On 3/17/06, V H <[EMAIL PROTECTED]> wrote:
> Hello,
>
> 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? Thanks a lot.
--
Stewart Midwinter
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad
AIM:midtoad1
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss