I have tried key and mouse click (when receive a event, print some
diagnose information ). I found mouse click work well in canvas but
key not work well.
It seems canvas cannot get key event?
self.canv.bind('',self._onUpKey) ## don't work
self.canv.bind('', self._onClick) ## work
Hi all,
I have a canvas and a rectangle draw on it. Can I bind a key(e.g. UP)
to the canvas and make the rectangle move up? Or shall I bind the key
to rectangle(I don't think so, because it is not a widget)?
Any suggestions are welcome!
Best regards,
Davy
--
http://mail.python.org/mailman/listin