Inherits from
- DragSegment: enthought.enable.drawing.drag_segment.DragSegment
- PlotInteraction: enthought.chaco.plot_interaction.PlotInteraction
Attributes
- reset_on_complete
Should the selection disappear on complete.
reset_on_complete = Bool(True)
- selections
The selected data points { PlotValue : [ (x, y) ] } If any segment of the PlotValue is crossed it will be in the dictionary. The values will be the endpoints of any crossed segment. The points are probably not useful, but this makes this interaction consistent with other select interactions.
selections = Dict
Inherited from base classes
- accepts_focus
- bottom
- bounds
- canvas
- colorchip_map
- complete
- complete_pointer
- container
- cursor_color
- cursor_style
- drag_enter
- drag_leave
- drag_over
- dragged
- drawing_pointer
- dropped
- dropped_on
- event_state
- has_focus
- height
- key
- left
- left_dclick
- left_down
- left_up
- line_color
- line_dash
- line_width
- max_height
- max_width
- middle_dclick
- middle_down
- middle_up
- min_height
- min_width
- mouse_move
- mouse_wheel
- normal_pointer
- on_trait_event
- pointer
- points
- pre_dropped_on
- pre_left_dclick
- pre_left_down
- pre_left_up
- pre_middle_dclick
- pre_middle_down
- pre_middle_up
- pre_mouse_move
- pre_mouse_wheel
- pre_right_dclick
- pre_right_down
- pre_right_up
- pre_window_enter
- pre_window_leave
- resized
- right
- right_dclick
- right_down
- right_up
- stretch_height
- stretch_width
- timer
- timer_interval
- tooltip
- top
- trait_added
- trait_modified
- traits_view
- updated
- vertex_color
- vertex_size
- visible
- width
- window
- window_enter
- window_leave
- wrappers
- x
- y
Method summary
Inherited from base classes
- __bottom_get(self)
- __deepcopy__(self, memo)
- __getstate__(self)
- __height_get(self)
- __height_set(self, height)
- __init__(self, **traits)
- __left_get(self)
- __prefix_trait__(self, name)
- __reduce_ex__(self, protocol)
- __right_get(self)
- __setstate__(self, state)
- __top_get(self)
- __width_get(self)
- __width_set(self, width)
- __x_get(self)
- __x_set(self, x)
- __y_get(self)
- __y_set(self, y)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- complete_draw(self, gc)
- components_at(self, x, y)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- dimensions(self, width = None, height = None)
- drag_enter_by_colorchip(self, colorchip, event)
- drag_leave_by_colorchip(self, colorchip, event)
- draw(self, gc)
- drawing_draw(self, gc)
- drawing_left_up(self, event)
- drawing_mouse_move(self, event)
- dropped_on_by_colorchip(self, colorchip, event)
- dropped_on_by_idroppedonhandler(self, component, event)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- gc_temp(self)
- get(self, *names, **metadata)
- image_for(self, image)
- location(self, x = None, y = None)
- needs_redraw(self)
- normal_left_down(self, event)
- normal_mouse_move(self, event)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same')
- plot_bounds_changed(self, source, trait, old, new)
- plot_container_changed(self, source, trait, old, new)
- print_traits(self, show_help = False, **metadata)
- redraw(self, bounds = None)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset(self)
- reset_traits(self, traits = None, **metadata)
- set(self, trait_change_notify = True, **traits)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
- xy_in_bounds(self, x, y = None)