[Tkinter-discuss] Help: _tkinter.createfilehandler not supported for threaded Tcl

Michael Lange klappnase at web.de
Wed Jun 22 11:24:48 CEST 2005

On Tue, 21 Jun 2005 13:24:19 -0500
Jeff Epler <jepler at unpythonic.net> wrote:

> I think this means the .tk attribute of any widget object, or the object
> returned by _tkinter.create() if you aren't using Tkinter widget
> classes.
> >>> import Tkinter
> >>> t = Tkinter.Tk()
> >>> t.tk
> <tkapp object at 0x4018d100>
> Jeff

Thanks Jeff,

of course you are right, the tk attribute has a createfilehandler() method.

Now if I replace tkinter.createfilehandler() with self.tk.createfilehandler()
it seems to work the same way for me.
Can anyone verify if this will do the trick with threaded tcl ?

Best regards


More information about the Tkinter-discuss mailing list