[Tkinter-discuss] Execute Python callback from Tk widgets

Kevin Walzer kw at codebykevin.com
Thu Oct 8 01:17:03 CEST 2009


Hi Russell,

On 10/7/09 3:00 PM, Russell E. Owen wrote:

>
> I use this class (from the RO package's module RO.TkUtil):
>
> class TclFunc:
>      """Register a python function as a tcl function.
>      Based on Tkinter's _register method (which, being private,
>      I prefer not to use explicitly).

<snip>

Thanks for this reference. It led me directly to the "register" method 
in Tkinter. Now my commands are as simple as 
self.register(self.infoTable), and they work.

Best,
Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Tkinter-discuss mailing list