Table Of Contents

Previous topic

PyShell

Next topic

PyShellOutput

This Page

phoenix_title PyShellInput

PyShell input window


class_hierarchy Inheritance Diagram

Inheritance diagram for class PyShellInput

Inheritance diagram of PyShellInput


super_classes Known Superclasses

Panel


method_summary Methods Summary

__init__ Create input window
Clear reset input state
OnChar called on CHARevent. executes input on newline
OnSetFocus  

api Class API



class PyShellInput(Panel)

PyShell input window


Methods



__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)



Clear(self, event=None)

reset input state



OnChar(self, event)

called on CHARevent. executes input on newline



OnSetFocus(self, event)