enable.drawing.drag_box module

A drag drawn box

class enable.drawing.drag_box.DragBox(**traits)[source]

Bases: enable.primitives.box.Box

A drag drawn box

drawing_left_up(event)[source]

Handle the left mouse button coming up in the ‘drawing’ state.

drawing_mouse_move(event)[source]

Handle the mouse moving in the ‘drawing’ state.

normal_left_down(event)[source]

Handle the left button down in the ‘normal’ state.

normal_mouse_move(event)[source]

Handle the mouse moving in the ‘normal’ state.