Hi all,

I'm trying to add an idle callback via the after_idle method, called
before mainloop. The problem is that I want to interact with the GUI
widgets
(doing very basic GUI testing) from this callback so I need the window
to be mapped by the window manager. But my callback gets called before
this has happened. If I then just call after_idle again from it the
window never appears at all.

Is there a nice way of waiting until there is a window to play with
before calling it? I can hardcode a delay by calling "after" instead,
and
this works but is obviously not ideal.

Regards,
Geoff Bache
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to