##// END OF EJS Templates
semantic names for indicator icons...
semantic names for indicator icons For all of the discussion that we had about what kind of icons should and should not be used to indicate what mode the notebook is in, we never went through to make it possible to override it. With this change, it is now possible to override what icons are displayed for Command and Edit Modes. For example, @minrk liked the fighter-jet icon for Command Mode, so he can put this in his custom.css .ipython-command-mode:before { content: "\f0fb"; }

File last commit:

r11009:e16cf2f8
r15806:6b3b303a
Show More
inprocess.py
40 lines | 1.3 KiB | text/x-python | PythonLexer
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ Defines an in-process KernelManager with signals and slots.
"""
# Local imports.
MinRK
update inprocess kernel to new layout...
r10298 from IPython.kernel.inprocess import (
InProcessShellChannel, InProcessIOPubChannel, InProcessStdInChannel,
MinRK
fix in process qt and in process examples
r10333 InProcessHBChannel, InProcessKernelClient, InProcessKernelManager,
MinRK
update inprocess kernel to new layout...
r10298 )
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 from IPython.utils.traitlets import Type
MinRK
fix in process qt and in process examples
r10333 from .kernel_mixins import (
QtShellChannelMixin, QtIOPubChannelMixin,
QtStdInChannelMixin, QtHBChannelMixin, QtKernelClientMixin,
QtKernelManagerMixin,
)
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessShellChannel(QtShellChannelMixin, InProcessShellChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessIOPubChannel(QtIOPubChannelMixin, InProcessIOPubChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessStdInChannel(QtStdInChannelMixin, InProcessStdInChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessHBChannel(QtHBChannelMixin, InProcessHBChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
MinRK
update inprocess kernel to new layout...
r10298 class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ An in-process KernelManager with signals and slots.
"""
Brian Granger
Cleanup naming and organization of channels....
r9120 iopub_channel_class = Type(QtInProcessIOPubChannel)
shell_channel_class = Type(QtInProcessShellChannel)
stdin_channel_class = Type(QtInProcessStdInChannel)
hb_channel_class = Type(QtInProcessHBChannel)
MinRK
fix in process qt and in process examples
r10333
class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager):
client_class = __module__ + '.QtInProcessKernelClient'