Inheritance diagram for visualizer.ipython_view.IPythonView:
Collaboration diagram for visualizer.ipython_view.IPythonView:Public Member Functions | |
| def | __init__ |
| def | onKeyPressExtend |
| def | raw_input |
Public Member Functions inherited from visualizer.ipython_view.ConsoleView | |
| def | __init__ |
| def | changeLine |
| def | getCurrentLine |
| def | onKeyPress |
| def | onKeyPressExtend |
| def | showPrompt |
| def | showReturned |
| def | write |
Public Member Functions inherited from visualizer.ipython_view.IterableIPShell | |
| def | __init__ |
| def | complete |
| def | execute |
| def | generatePrompt |
| def | historyBack |
| def | historyForward |
| def | shell |
| def | updateNamespace |
Public Attributes | |
| cout | |
| history_pos | |
| interrupt | |
| prompt | |
Public Attributes inherited from visualizer.ipython_view.ConsoleView | |
| color_pat | |
| line_start | |
| mark | |
| text_buffer | |
Public Attributes inherited from visualizer.ipython_view.IterableIPShell | |
| complete_sep | |
| history_level | |
| IP | |
| iter_more | |
| prompt | |
Private Member Functions | |
| def | _processLine |
Additional Inherited Members | |
Static Public Attributes inherited from visualizer.ipython_view.ConsoleView | |
| dictionary | ANSI_COLORS |
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.
| def visualizer.ipython_view.IPythonView.__init__ | ( | self | ) |
Initialize. Redirect I/O to console.
Definition at line 515 of file ipython_view.py.
|
private |
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, | |
| event | |||
| ) |
Key press callback with plenty of shell goodness, like history, autocompletions, etc. @param widget: Widget that key press occured in. @type widget: gtk.Widget @param event: Event object. @type event: gtk.gdk.Event @return: True if event should not trickle. @rtype: boolean
Definition at line 544 of file ipython_view.py.
References visualizer.ipython_view.IPythonView._processLine(), visualizer.ipython_view.ConsoleView.changeLine(), visualizer.ipython_view.IterableIPShell.complete(), visualizer.ipython_view.ConsoleView.getCurrentLine(), visualizer.ipython_view.IterableIPShell.historyBack(), visualizer.ipython_view.IterableIPShell.historyForward(), visualizer.ipython_view.IPythonView.interrupt, visualizer.ipython_view.IterableIPShell.prompt, visualizer.ipython_view.ConsoleView.showPrompt(), check-style.PatchChunkLine.write(), check-style.PatchChunk.write(), check-style.Patch.write(), and visualizer.ipython_view.ConsoleView.write().
Here is the call graph for this function:| 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:| visualizer.ipython_view.IPythonView.cout |
Definition at line 520 of file ipython_view.py.
| visualizer.ipython_view.IPythonView.history_pos |
Definition at line 588 of file ipython_view.py.
| visualizer.ipython_view.IPythonView.interrupt |
Definition at line 523 of file ipython_view.py.
Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend(), and visualizer.ipython_view.IPythonView.raw_input().
| visualizer.ipython_view.IPythonView.prompt |
Definition at line 525 of file ipython_view.py.
Referenced by visualizer.ipython_view.ConsoleView._showReturned().