spyder.api.shellconnect.status#
Status bar widget that shows content that comes from the IPython console.
Classes
|
Base class for status bar widgets whose info depends on the current shell. |
- class spyder.api.shellconnect.status.ShellConnectStatusBarWidget(parent)[source]#
Bases:
StatusBarWidget,ShellConnectMixinBase class for status bar widgets whose info depends on the current shell.
- __init__(parent)[source]#
Base class for status bar widgets.
These are composed of the following widgets, which are arranged in a QHBoxLayout from left to right:
Icon
Label
Custom QWidget
Spinner
- Parameters:
Notes
To use an icon, you need to redefine the
get_iconmethod.To use a label, you need to call
set_value.
- update_status(status)[source]#
Actions to take to update the widget status after switching consoles.