ipTk::TkConsoleView Class Reference

Inheritance diagram for ipTk::TkConsoleView:
Text ipTk::IPythonView

List of all members.

Public Member Functions

def __init__
def changeLine
def getCurrentLine
def isEditable
def processBackSpacePress
def processDownPress
def processEnterPress
def processHomePress
def processKeyPress
def processLeftPress
def processRightPress
def processTabPress
def processUpPress
def showBanner
def showPrompt
def showReturned
def write

Public Attributes

 color_pat
 debug
 line_start
 mark
 o
 root
 scroll
 start_mark

Private Member Functions

def _setBindings

Member Function Documentation

def ipTk::TkConsoleView::__init__ (   self,
  root,
  debug = False 
)
def ipTk::TkConsoleView::_setBindings (   self  )  [private]
Bind the keys we require.
REM: if a bound function returns "break" then no other bindings are called
If it returns None, then the other default bindings are called.
def ipTk::TkConsoleView::changeLine (   self,
  text 
)
def ipTk::TkConsoleView::getCurrentLine (   self  ) 
def ipTk::TkConsoleView::isEditable (   self  ) 
Scan the notouch tag range in pairs and see if the INSERT index falls
between any of them.
def ipTk::TkConsoleView::processBackSpacePress (   self,
  event 
)
def ipTk::TkConsoleView::processDownPress (   self,
  event 
)
def ipTk::TkConsoleView::processEnterPress (   self,
  event 
)
def ipTk::TkConsoleView::processHomePress (   self,
  event 
)
def ipTk::TkConsoleView::processKeyPress (   self,
  event 
)
def ipTk::TkConsoleView::processLeftPress (   self,
  event 
)
def ipTk::TkConsoleView::processRightPress (   self,
  event 
)
def ipTk::TkConsoleView::processTabPress (   self,
  event 
)
def ipTk::TkConsoleView::processUpPress (   self,
  event 
)
def ipTk::TkConsoleView::showBanner (   self,
  banner 
)
Print the supplied banner on starting the shell
def ipTk::TkConsoleView::showPrompt (   self,
  prompt 
)
def ipTk::TkConsoleView::showReturned (   self,
  text 
)
def ipTk::TkConsoleView::write (   self,
  text,
  editable = False 
)

Member Data Documentation

Reimplemented in ipTk::IPythonView.


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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1