[Tkinter-discuss] non-GUI event detection in Tkinter mainloop()

Cameron Laird Cameron at phaseit.net
Wed May 20 18:33:06 CEST 2009


On Wed, May 20, 2009 at 12:25:08PM +0300, Igor Novikov wrote:
			.
			.
			.
> File system events are not a part of tk library so Tkinter doesn't process
> such events.
> Nevertheless native _tkinter library contains two file event related
> procedures - createfilehandler() and deletefilehandler()
> So you can try finding samples how to use these functions. For example:
> 
> http://mail.python.org/pipermail/python-list/1999-May/001838.html
> 
> Also you can try resolving this issue using "fileevent" tcl command:
> 
> http://www.tcl.tk/man/tcl8.5/TclCmd/fileevent.htm
> 
> But this way supposes tcl programming.
			.
			.
			.
There are arguably easier ways.  It might be the weekend before I
can explain.  My summary:  Mr. O'Gorman can try Mr. Novikov's sug-
gestions, OR wait for the possibility of a more completed approach.


More information about the Tkinter-discuss mailing list