twisted.conch.insults.windowView Source (View In Hierarchy)
A top-level container object which provides focus wrap-around and paint scheduling.
|Instance Variable||painter||A no-argument callable which will be invoked when this widget needs to be redrawn.|
|Instance Variable||scheduler||A one-argument callable which will be invoked with a no-argument callable
and should arrange for it to invoked at some point in the near future. The
no-argument callable will cause this widget and all its children to be
redrawn. It is typically beneficial for the no-argument callable to be
invoked at the end of handling for whatever event is currently active; for
example, it might make sense to call it at the end of
Inherited from ContainerWidget:
|Instance Variable||focusedChild||The contained widget which currently has focus, or None.|
|Method||focusReceived||Called when focus is being given to this widget.|
twisted.conch.insults.insults.ITerminalProtocol.keystrokeReceived. Note, however, that since calls to this may also be made in response to no apparent event, arrangements should be made for the function to be called even if an event handler such as
keystrokeReceivedis not on the call stack (eg, using
reactor.callLaterwith a short timeout).