[issue1525806] Tkdnd mouse cursor handling patch

klappnase report at bugs.python.org
Thu Apr 23 18:46:01 CEST 2009


klappnase <klappnase at users.sourceforge.net> added the comment:

Maybe this depends on whether the dragged item is "clickable" like
listbox items and buttons or not , like the Labels in the Tkdnd demo.
Ok, I wrote a second patch that solves this by adding another option to
dnd_start(); if this option is set to True (the default) the user gets
the classic behavior, if set to False the cursor changes when the motion
starts, as in the initial patch. I couldn't figure out a good name for
this option, so I called it "swapcursoronclick", at least the name says
what it is for ^_^

----------
Added file: http://bugs.python.org/file13750/Tkdnd.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1525806>
_______________________________________


More information about the Python-bugs-list mailing list