lsst.display.matplotlib  22.0.0+e02dbb5c79
Public Member Functions | Public Attributes | List of all members
lsst.display.matplotlib.matplotlib.BlockingKeyInput Class Reference
Inheritance diagram for lsst.display.matplotlib.matplotlib.BlockingKeyInput:

Public Member Functions

def __init__ (self, fig)
 
def post_event (self)
 
def __call__ (self, timeout=-1)
 

Public Attributes

 ev
 

Detailed Description

Callable class to retrieve a single keyboard click

Constructor & Destructor Documentation

◆ __init__()

def lsst.display.matplotlib.matplotlib.BlockingKeyInput.__init__ (   self,
  fig 
)
Create a BlockingKeyInput

@param fig The figure to monitor for keyboard events

Member Function Documentation

◆ __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: