classification
Title: Detect mouse over lines on canvas while mouse button is down
Type: enhancement Stage:
Components: Tkinter Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Ted Shaneyfelt2, gpolo, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-02-14 18:38 by Ted Shaneyfelt2, last changed 2017-02-19 15:30 by xiang.zhang.

Messages (1)
msg287789 - (view) Author: Ted Shaneyfelt (Ted Shaneyfelt2) Date: 2017-02-14 18:38
There way mouse captures are done, mouse-over events seem to be disabled while dragging. 

This makes it difficult to provides hints as feedback, and more complicated than it should be to detect when dropping over a particular line object. 

Tk may not directly support it, but is there any way of getting into its guts to provide an option to re-enable mouse-over events while dragging? Or even providing a tuple with the pending mouse-overs upon release? or perhaps even simulate a mouse-up-mouse-down sequence to allow the events to propagate through and consume the noise within tkinter? Or even detect that there is a pending mouseover waiting for the mouseup event and delivering it along with the mouseup or notifying within the event that there is one pending?
History
Date User Action Args
2017-02-19 15:30:23xiang.zhangsetnosy: + gpolo, serhiy.storchaka
2017-02-14 18:38:59Ted Shaneyfelt2create