Warning

This documentation is for an old version of IPython. You can find docs for newer versions here.

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