enthought / enthought/chaco

DragTool mouse down event handling

Open
#268 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

When trying to use DragTool, dragging will not occur unless I also implement my own normal_left_down function:

``` python
def normal_left_down(self, event):
event.handled = True
```

Unless I implement this method, the `left_down` attribute of the subsequent mouse move events will be False, and dragging will not be handled correctly by the DragTool. Is it correct that I have to implement this extra handling to make it work? And what is the dependency of the `MouseEvent.left_down` attribute to previously handled events?

Also the DragTool does not use the modifier keys for anything.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.