A Discrete-Event Network Simulator
visualizer.ipython_view.IPythonView Class Reference
+ Inheritance diagram for visualizer.ipython_view.IPythonView:
+ Collaboration diagram for visualizer.ipython_view.IPythonView:

Public Member Functions

def __init__ (self)
def onKeyPressExtend (self, event)
def raw_input
- Public Member Functions inherited from visualizer.ipython_view.ConsoleView
def __init__ (self)
def changeLine (self, text)
def getCurrentLine (self)
def onKeyPress (self, widget, event)
def onKeyPressExtend (self, event)
def showPrompt (self, prompt)
def showReturned (self, text)
def write
- Public Member Functions inherited from visualizer.ipython_view.IterableIPShell
def __init__
def complete (self, line)
def execute (self)
def generatePrompt (self, is_continuation)
def historyBack (self)
def historyForward (self)
def shell
def updateNamespace (self, ns_dict)

Public Attributes

- Public Attributes inherited from visualizer.ipython_view.ConsoleView
- Public Attributes inherited from visualizer.ipython_view.IterableIPShell

Private Member Functions

def _processLine (self)

Additional Inherited Members

- Static Public Attributes inherited from visualizer.ipython_view.ConsoleView
dictionary ANSI_COLORS

Detailed Description

Sub-class of both modified IPython shell and L{ConsoleView} this makes
a GTK+ IPython console.

Definition at line 510 of file ipython_view.py.

Constructor & Destructor Documentation

def visualizer.ipython_view.IPythonView.__init__ (   self)
Initialize. Redirect I/O to console.

Definition at line 515 of file ipython_view.py.

Member Function Documentation

def visualizer.ipython_view.IPythonView._processLine (   self)
Process current command line.

Definition at line 584 of file ipython_view.py.

Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().

+ Here is the caller graph for this function:

def visualizer.ipython_view.IPythonView.onKeyPressExtend (   self,
def visualizer.ipython_view.IPythonView.raw_input (   self,
  prompt = '' 
Custom raw_input() replacement. Get's current line from console buffer.

@param prompt: Prompt to print. Here for compatability as replacement.
@type prompt: string

@return: The current command line text.
@rtype: string

Definition at line 529 of file ipython_view.py.

References visualizer.ipython_view.ConsoleView.getCurrentLine(), and visualizer.ipython_view.IPythonView.interrupt.

+ Here is the call graph for this function:

Member Data Documentation


Definition at line 520 of file ipython_view.py.


Definition at line 588 of file ipython_view.py.


Definition at line 525 of file ipython_view.py.

Referenced by visualizer.ipython_view.ConsoleView._showReturned().

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