[Tutor] How to put an event into the Tcl/Tk event queue?

Alan Gauld alan.gauld at btinternet.com
Mon Aug 27 14:04:50 CEST 2007

"Dan Knierim" <tknierim at ieway.com> wrote in

> The Tcl/Tk functions I mentioned (Tcl_QueueEvent etc.) are
> listed in my copy of the Tcl/Tk Man pages (downloadable
> from www.tcl.tk/man).
> I believe they are C or C++ functions.

That's what I suspected, the names look like the C functions.

> Is there another Python module that does include Python
> wrappers for Tcl/Tk C functions?

Unfortunately I don't know of anything.

> Your suggestion triggered a second glance; maybe event_generate can 
> do what I need.
> I'll study it some more.

I hope it works, the documentation in the Nutshell book
certainly suggested that, under X windows at least, any
app could send to any other app within the same X

Alan G 

More information about the Tutor mailing list