.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.py.crust
.. highlight:: python
.. _wx.py.crust.Display:
==========================================================================================================================================
|phoenix_title| **wx.py.crust.Display**
==========================================================================================================================================
STC used to display an object using Pretty Print.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
Display:
|
|super_classes| Known Superclasses
==================================
:class:`wx.py.editwindow.EditWindow`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.py.crust.Display.__init__` Create Display instance.
:meth:`~wx.py.crust.Display.push` Receiver for Interpreter.push signal.
:meth:`~wx.py.crust.Display.Refresh` Refresh(eraseBackground: bool=True, rect: Optional[Rect]=None) -> None
:meth:`~wx.py.crust.Display.setItem` Set item to pretty print in the notebook Display tab.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: Display(editwindow.EditWindow)
STC used to display an object using Pretty Print.
.. method:: __init__(self, parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER, static=False)
Create Display instance.
.. method:: push(self, command, more)
Receiver for Interpreter.push signal.
.. method:: Refresh(self)
Refresh(eraseBackground: bool=True, rect: Optional[Rect]=None) -> None
Causes this window, and all of its children recursively, to be
repainted.
.. method:: setItem(self, item)
Set item to pretty print in the notebook Display tab.