chaco.tools.move_tool module

Defines the MoveTool class.

class chaco.tools.move_tool.MoveTool(component=None, **traits)

Bases: enable.tools.drag_tool.DragTool

A tool for moving a plot component.

drag_start(event)

Called when the drag operation starts.

Implements DragTool.

dragging(event)

This method is called for every mouse_move event that the tool receives while the user is dragging the mouse.

Implements DragTool. Moves the component.