Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
idlelib.OutputWindow.OnDemandOutputWindow Class Reference

List of all members.

Public Member Functions

def __init__
def write
def setup

Public Attributes

 flist
 owin
 write

Static Public Attributes

dictionary tagdefs

Detailed Description

Definition at line 115 of file OutputWindow.py.


Constructor & Destructor Documentation

Definition at line 123 of file OutputWindow.py.

00123 
00124     def __init__(self, flist):
00125         self.flist = flist
00126         self.owin = None

Here is the caller graph for this function:


Member Function Documentation

Definition at line 132 of file OutputWindow.py.

00132 
00133     def setup(self):
00134         self.owin = owin = OutputWindow(self.flist)
00135         text = owin.text
00136         for tag, cnf in self.tagdefs.items():
00137             if cnf:
00138                 text.tag_configure(tag, **cnf)
00139         text.tag_raise('sel')
00140         self.write = self.owin.write

Here is the caller graph for this function:

def idlelib.OutputWindow.OnDemandOutputWindow.write (   self,
  s,
  tags,
  mark 
)

Definition at line 127 of file OutputWindow.py.

00127 
00128     def write(self, s, tags, mark):
00129         if not self.owin:
00130             self.setup()
00131         self.owin.write(s, tags, mark)

Here is the call graph for this function:


Member Data Documentation

Definition at line 124 of file OutputWindow.py.

Definition at line 125 of file OutputWindow.py.

Initial value:
{
        # XXX Should use IdlePrefs.ColorPrefs
        "stdout":  {"foreground": "blue"},
        "stderr":  {"foreground": "#007700"},
    }

Definition at line 117 of file OutputWindow.py.

Definition at line 139 of file OutputWindow.py.


The documentation for this class was generated from the following file: