In <[EMAIL PROTECTED]>, dwelch91 wrote:
> When I run this (Ubuntu 6.06), I get no windows, not even the root Tk one.
>
> Any ideas???
>
> […]
>
> global root
> root = Tk()
> root.after_idle(show_ui)
> root.mainloop()
What is this `after_idle()` call supposed to do? The main loop isn't
running yet. If you just call `show_ui()` you should get some windows.
The ``global`` is unnecessary by the way. It even generates a warning:
test.py:0: SyntaxWarning: name 'root' is assigned to before global
declaration
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list