EventHandler
Properties and Methods
Event: type
__init__(self, figure, on_click=None, on_release=None, on_draw=None, on_key_press=None, on_key_release=None, on_move=None, on_select=None, on_resize=None, on_scroll=None, on_figure_entered=None, on_figure_left=None, on_axes_entered=None, on_axes_left=None):
Creates an EventHandler on a Figure that handles most interactivity stuff
figure
:GraphicsBase
No description…
on_click
:Any
No description…
on_release
:Any
No description…
on_draw
:Any
No description…
on_key_press
:Any
No description…
on_key_release
:Any
No description…
on_move
:Any
No description…
on_select
:Any
No description…
on_resize
:Any
No description…
on_scroll
:Any
No description…
on_figure_entered
:Any
No description…
on_figure_left
:Any
No description…
on_axes_entered
:Any
No description…
on_axes_left
:Any
No description…
bind(self, **handlers):
@property
handlers(self):
ButtonPressedEvent(self, handler, **kw):
ButtonReleasedEvent(self, handler, **kw):
DrawEvent(self, handler, **kw):
KeyPressedEvent(self, handler, **kw):
KeyReleasedEvent(self, handler, **kw):
MoveEvent(self, handler, **kw):
SelectEvent(self, handler, **kw):
ScrollEvent(self, handler, **kw):
FigureEnterEvent(self, handler, **kw):
FigureLeaveEvent(self, handler, **kw):
AxesEnterEvent(self, handler, **kw):
AxesLeaveEvent(self, handler, **kw):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings