frontend.wx.wx_frontend — IPython v0.10 documentation

### Navigation

- index
- modules |
- next |
- previous |
- IPython v0.10 documentation »
- The IPython API »

# frontend.wx.wx_frontend

## Module: `frontend.wx.wx_frontend`

Inheritance diagram for `IPython.frontend.wx.wx_frontend`:

Classes to provide a Wx frontend to the IPython.kernel.core.interpreter.

This class inherits from ConsoleWidget, that provides a console-like widget to provide a text-rendering widget suitable for a terminal.

## `WxController`

class `IPython.frontend.wx.wx_frontend.` `WxController`(parent, id=-1, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=4456448, styledef=None, *args, **kwds)

  Bases: `IPython.frontend.wx.console_widget.ConsoleWidget`, `IPython.frontend.prefilterfrontend.PrefilterFrontEnd`

  Classes to provide a Wx frontend to the IPython.kernel.core.interpreter.

  This class inherits from ConsoleWidget, that provides a console-like widget to provide a text-rendering widget suitable for a terminal.

  `__init__`(parent, id=-1, pos=wx.Point(-1, -1), size=wx.Size(-1, -1), style=4456448, styledef=None, *args, **kwds)

    Create Shell instance.

    Parameters: | styledef : dict, optional styledef is the dictionary of options used to define the style.

  `OnUpdateUI`(event)
    Override the OnUpdateUI of the EditWindow class, to prevent syntax highlighting both for faster redraw, and for more consistent look and feel.
  `after_execute`()
  `buffered_write`(text)

    A write method for streams, that caches the stream in order to avoid flooding the event loop.

    This can be called outside of the main loop, in separate threads.

  `capture_output`()
  `clear_screen`()
    Empty completely the widget.
  `continuation_prompt`(*args, **kwargs)
  `do_calltip`()
    Analyse current and displays useful calltip for it.
  `execute`(python_string, raw_string=None)
  `execute_command`(command, hidden=False)
    Execute a command, not only in the model, but also in the view.
  `input_buffer`
    Returns the text in current edit buffer.
  `new_prompt`(prompt)
    Display a new prompt, and start a new input buffer.
  `raw_input`(prompt='')
    A replacement from python’s raw_input.
  `release_output`()
  `render_error`(e)
  `save_output_hooks`()
  `show_traceback`()
  `system_call`(command_string)
  `title`
  `write`(*args, **kwargs)

### Navigation

- index
- modules |
- next |
- previous |
- IPython v0.10 documentation »
- The IPython API »