.. include:: headings.inc .. currentmodule:: lib.shell .. highlight:: python .. _lib.shell.PyShellInput: ========================================================================================================================================== |phoenix_title| **PyShellInput** ========================================================================================================================================== PyShell input window | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **PyShellInput** .. raw:: html

Inheritance diagram of PyShellInput

| |super_classes| Known Superclasses ================================== :class:`Panel` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.shell.PyShellInput.__init__` Create input window :meth:`~lib.shell.PyShellInput.Clear` reset input state :meth:`~lib.shell.PyShellInput.OnChar` called on CHARevent. executes input on newline :meth:`~lib.shell.PyShellInput.OnSetFocus` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PyShellInput(Panel) PyShell input window .. method:: __init__(self, parent, shell, id=-1) Create input window shell must be a PyShell object. it is used for exception handling, eval() namespaces, and shell.output is used for output (print's go to overridden stdout) .. method:: Clear(self, event=None) reset input state .. method:: OnChar(self, event) called on CHARevent. executes input on newline .. method:: OnSetFocus(self, event)