import com.twosigma.beakerx.widget.Select
slt = new Select()
slt.options=['Linux', 'Windows', 'OSX']
slt.value = 'Windows'
slt.size = 3
slt
slt.value
slt.value = 'Linux'
slt.description = 'os'
slt.disabled = true
import com.twosigma.beakerx.widget.SelectionSlider
sld = new SelectionSlider()
sld.options=['scrambled', 'sunny side up', 'poached', 'over easy', 'burned']
sld.value = 'sunny side up'
sld
sld.value
sld.value='poached'
sld.description='I like my eggs ...'
sld.orientation='vertical'
sld.disabled = true
import com.twosigma.beakerx.widget.ToggleButtons
tb = new ToggleButtons()
tb.options=['Slow', 'Regular', 'Fast']
tb.button_style = 'success'
tb.tooltips=['SL', 'RE', 'Fast']
tb
tb.value
tb.value = 'Regular'
tb.description='Speed:'
tb.button_style = 'info'
tb.icons=['check', 'check', 'check']
tb.disabled = true
import com.twosigma.beakerx.widget.SelectMultiple
sml = new SelectMultiple()
sml.options=['Linux', 'Windows', 'OSX']
sml.value = ['Windows', 'Linux']
sml
sml.value
sml.value = ['Linux', 'OSX']
sml.description = 'os'
sml.disabled = true
import com.twosigma.beakerx.widget.Text
txt = new Text()
txt.value = "Test Text"
txt
txt.value
txt.value = 'new value'
txt.description = 'desc'
txt.disabled = true
import com.twosigma.beakerx.widget.Textarea
ta = new Textarea()
ta.value = "Textarea example"
ta
ta.value
ta.value = 'new value'
ta.description = 'desc'
ta.disabled = true
import com.twosigma.beakerx.widget.Label
lbl = new Label()
lbl.value = "Lbl123"
lbl
lbl.value
lbl.value = 'new value'
import com.twosigma.beakerx.widget.HTML
ht = new HTML()
ht.value = '<input type="text" value="test" id ="x1">'
ht
ht.value
ht.value = "<b>Hello World</b>"
ht.description= "some HTML:"
import com.twosigma.beakerx.widget.HTMLMath
mth = new HTMLMath()
mth.value = "x squared looks as \$x^2\$"
mth
mth.value
mth.value = "y squared looks as \$y^2\$"
mth.description = "formula:"
import com.twosigma.beakerx.widget.Button
tb = new Button(tooltip : "tooltip1", description : "click me")
tb
tb.icon = 'check'
tb.button_style = 'success'
tb.disabled = true