jupyterlab-topbar icon indicating copy to clipboard operation
jupyterlab-topbar copied to clipboard

Modify top bar properties via Python

Open nulinspiratie opened this issue 4 years ago • 2 comments

Is it possible to change any of the top bar item values in Python, similar to ipywidgets? If not I think it would be a very useful addition, though the only way I know of to communicate between python and javascript in Jupyter Lab would be through ipywidgets

nulinspiratie avatar Apr 14 '20 08:04 nulinspiratie

Thanks @nulinspiratie for opening the issue!

Indeed ipywidgets sounds like the way to do this. Maybe something like ipylab could do the trick: https://github.com/jtpio/ipylab

Changing the top bar items from Python would probably depend on what the extension does and we would need to have a way to access these elements (settings could be a way: https://github.com/jtpio/ipylab/issues/27). But it sounds like it should be possible to use ipylab to add widgets to the top bar.

jtpio avatar Apr 14 '20 16:04 jtpio

I'll try to work on it over weekends

erkin98 avatar Sep 28 '23 11:09 erkin98