On Thu, Sep 01, 2011 at 10:37:31AM -0400, Douglas S. Blank wrote:
> On 09/01/2011 10:21 AM, ������� wrote:
> >def myprint():
> > print root.winfo_pointerxy()
> When you bind a function to the canvas, it is expecting a function that
> takes an argument (which is probably the object to which the binding is
> So, you could just allow myprint to take an argument, and ignore it:
> def myprint(arg):
> print root.winfo_pointerxy()
I entirely agree with the counsel Dr. Blank has provided.
While I expect the original questioner has all he needs to
move forward, I'll provide a bit more detail for the
benefit of other readers.