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

WIP: Added a more general ToolbarWidget #724

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maartenbreddels
Copy link
Member

This is more of an exploration of doing toolbars (for bqplot and ipyvolume) a different way.

By making a ToolbarWidget that is a container (it has a single child widget), it can create a view of that child widget and send it messages (save to png, fullscreen).
What is does now as well, is keep a list of Interacts, and the current index and current value, which can be linked to a ToggleButtons widgets. I think a more general approach of this is to have a 'WidgetList' widget, that will keep a list, an index, and a current widget.

cc @astrofrog
In the attached screenshot (or the toolbar notebook) I used the glue icon using this PR jupyter-widgets/ipywidgets#2182
screen shot 2018-09-28 at 16 31 19

Maybe we should talk about using/including/modifying these icons, for a uniform UI for bqplot/ipyvolume/glue-jupyter

@maartenbreddels
Copy link
Member Author

cleaned up version, using jupyter-widgets/ipywidgets#2232

screen shot 2018-10-05 at 20 13 14

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

Successfully merging this pull request may close these issues.

None yet

1 participant