chaco.tools.rectangular_selection module¶
Defines the RectangularSelection controller class.
-
class
chaco.tools.rectangular_selection.
RectangularSelection
(component, *args, **kw)¶ Bases:
chaco.tools.lasso_selection.LassoSelection
A lasso selection tool whose selection shape is rectangular
-
first_corner
= ArrayOrNone(shape=(2,))¶ The first click. This represents a corner of the rectangle.
-
selecting_mouse_move
(event)¶ This function is the same as the super except that it injects _make_rectangle as the _active_selection assignment.
-
selecting_mouse_up
(event)¶ Handles the mouse button coming up in the ‘selecting’ state.
Completes the selection and switches to the ‘normal’ state.
-