### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# Module: `qt.console.completion_plain`

A simple completer for the qtconsole

## 1 Class

class `IPython.qt.console.completion_plain.``CompletionPlain`(console_widget)

  Bases: `PyQt4.QtGui.QWidget`

  A widget for tab completion, navigable by arrow keys

  `__init__`(console_widget)

    Create a completion widget that is attached to the specified Qt text edit widget.

  `cancel_completion`()

    Cancel the completion, reseting internal variable, clearing buffer

  `eventFilter`(obj, event)

    Reimplemented to handle keyboard input and to auto-hide when the text edit loses focus.

  `show_items`(cursor, items)

    Shows the completion widget with ‘items’ at the position specified by ‘cursor’.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »