Allows low-level access to either the Tkinter or the Jupyter control panel. Allows the insertion of widgets – either a Tkinter frame (or any subclass of it) or an Ipywidget, as appropriate – at the top of the control panel, as shown by the red stripe.
cpanel — Cpanel
bg — str|None
The background color to maintain the alternating striping of the control panel in Tkinter, either
Noneif using Jupyter.
Expected Return Value — tkinter.Frame|Ipywidgets.DOMWidget
A Tkinter Frame widget attached to the
Cpanel window if using the Tkinter frontend, or a displayable Ipython widget if using Jupyter.
Notes and Examples