.. include:: headings.inc
.. currentmodule:: lib.pyshell
.. highlight:: python
.. _lib.pyshell.PyShellWindow:
==========================================================================================================================================
|phoenix_title| **PyShellWindow**
==========================================================================================================================================
|
|class_hierarchy| Inheritance Diagram
=====================================
Inheritance diagram for class **PyShellWindow**
.. raw:: html
|
|super_classes| Known Superclasses
==================================
`code.InteractiveInterpreter `_, :class:`stc.StyledTextCtrl`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~lib.pyshell.PyShellWindow.__init__`
:meth:`~lib.pyshell.PyShellWindow.GetLocals`
:meth:`~lib.pyshell.PyShellWindow.GetProperties`
:meth:`~lib.pyshell.PyShellWindow.OnKey`
:meth:`~lib.pyshell.PyShellWindow.OnStyle`
:meth:`~lib.pyshell.PyShellWindow.OnUpdateUI`
:meth:`~lib.pyshell.PyShellWindow.Prompt`
:meth:`~lib.pyshell.PyShellWindow.PushLine`
:meth:`~lib.pyshell.PyShellWindow.runsource`
:meth:`~lib.pyshell.PyShellWindow.SetLocals`
:meth:`~lib.pyshell.PyShellWindow.SetProperties`
:meth:`~lib.pyshell.PyShellWindow.showsyntaxerror`
:meth:`~lib.pyshell.PyShellWindow.showtraceback`
:meth:`~lib.pyshell.PyShellWindow.UpdateProperties` Reset the editor and other settings based on the contents of the
:meth:`~lib.pyshell.PyShellWindow.writeTrace`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: PyShellWindow(stc.StyledTextCtrl, InteractiveInterpreter)
.. method:: __init__(self, parent, ID, pos=DefaultPosition, size=DefaultSize, style=0, locals=None, properties=None, banner=None)
.. method:: GetLocals(self): return self.locals
.. method:: GetProperties(self): return self.props
.. method:: OnKey(self, evt)
.. method:: OnStyle(self, evt)
.. method:: OnUpdateUI(self, evt)
.. method:: Prompt(self)
.. method:: PushLine(self, text)
.. method:: runsource(self, source)
.. method:: SetLocals(self, locals): self.locals = locals
.. method:: SetProperties(self, properties)
.. method:: showsyntaxerror(self, filename=None)
.. method:: showtraceback(self)
.. method:: UpdateProperties(self)
Reset the editor and other settings based on the contents of the
current properties dictionary.
.. method:: writeTrace(self, text)