Module: kernel.zmq.gui.gtkembed — IPython 2.3.1 documentation

### Navigation

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

# Module: `kernel.zmq.gui.gtkembed`

GUI support for the IPython ZeroMQ kernel - GTK toolkit support.

## 1 Class

class `IPython.kernel.zmq.gui.gtkembed.` `GTKEmbed`(kernel)

  Bases: `object`

  A class to embed a kernel into the GTK main event loop.

  `__init__`(kernel)
  `iterate_kernel`()

    Run one iteration of the kernel and return True.

    GTK timer functions must return True to be called again, so we make the call to `do_one_iteration()` and then return True for GTK.

  `start`()

    Starts the GTK main event loop and sets our kernel startup routine.

### Navigation

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