IPython Documentation

Table Of Contents

Previous topic

Module: parallel.util

Next topic

Module: qt.client

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

Module: qt.base_frontend_mixin

Defines a convenient mix-in class for implementing Qt frontends.

1 Class

class IPython.qt.base_frontend_mixin.BaseFrontendMixin

Bases: object

A mix-in class for implementing Qt frontends.

To handle messages of a particular type, frontends need only define an appropriate handler method. For example, to handle ‘stream’ messaged, define a ‘_handle_stream(msg)’ method.

from_here(msg)

Return whether a message is from this session

include_output(msg)

Return whether we should include a given output message

kernel_client

Returns the current kernel client.

kernel_manager

The kernel manager, if any