Bernard B Yoo wrote:

> I have a Python module that redirects stdout/stderr to a Tkinter text 
> widget.  When I run this from the Python interpreter, it behaves as I 
> expect.  When I run it from a Python batch file, it also behaves as 
> expected.
> 
> When I embed the module in a C program, the Tkinter text widget does not 
> appear.
> 
> Is there something special I must do in embedded Python programs to make 
> Tkinter widgets appear?

you must keep the mainloop running, so that Tk(inter) gets around to 
process the events.

can you perhaps provide some more details on how you're doing the 
redirecting and the embedding?

</F>

_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to