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

add Python API for adding jupyter js widgets to easyform #6746

Closed
scottdraves opened this issue Jan 30, 2018 · 0 comments
Closed

add Python API for adding jupyter js widgets to easyform #6746

scottdraves opened this issue Jan 30, 2018 · 0 comments

Comments

@scottdraves
Copy link
Contributor

this should work, like the similar code in groovy:

from beakerx import *
from ipywidgets import * 
w = IntSlider()

f = EasyForm("Form and Run")
f.addTextField("first")
f.addTextField("last")
f.addWidget("slider", w)
f['first'] = "First"
f['last'] = "Last"
f.addButton("Go!", tag="run")
f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants