Callable class to retrieve a single keyboard click
◆ __init__()
def lsst.display.matplotlib.matplotlib.BlockingKeyInput.__init__ |
( |
|
self, |
|
|
|
fig |
|
) |
| |
Create a BlockingKeyInput
@param fig The figure to monitor for keyboard events
◆ __call__()
def lsst.display.matplotlib.matplotlib.BlockingKeyInput.__call__ |
( |
|
self, |
|
|
|
timeout = -1 |
|
) |
| |
Blocking call to retrieve a single key click
Returns key or None if timeout (-1: never timeout)
◆ post_event()
def lsst.display.matplotlib.matplotlib.BlockingKeyInput.post_event |
( |
|
self | ) |
|
Return the event containing the key and (x, y)
The documentation for this class was generated from the following file:
- python/lsst/display/matplotlib/matplotlib.py