TK program problem

Ian Kelly ian.g.kelly at gmail.com
Fri May 20 15:20:17 EDT 2011


On Fri, May 20, 2011 at 12:03 PM, bvdp <bob at mellowood.ca> wrote:
> All this is fine (and worked perfectly before my upgrade). The menu
> items which are ordinary functions continue to work. BUT the callbacks
> which are classes are just ignored when they are clicked.

I'm not a tk user, but it sounds like it has regressed from accepting
arbitrary callables as callbacks to accepting functions specifically.

What happens if you replace:

("Favorites", selectFav),

with:

("Favorites", lambda: selectFav()),



More information about the Python-list mailing list