Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify top bar properties via Python #42

Open
nulinspiratie opened this issue Apr 14, 2020 · 2 comments
Open

Modify top bar properties via Python #42

nulinspiratie opened this issue Apr 14, 2020 · 2 comments

Comments

@nulinspiratie
Copy link

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

@jtpio
Copy link
Member

jtpio commented Apr 14, 2020

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: jtpio/ipylab#27). But it sounds like it should be possible to use ipylab to add widgets to the top bar.

@erkin98
Copy link

erkin98 commented Sep 28, 2023

I'll try to work on it over weekends

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants