def foo_callback(attr, old, new):
foo_spinner = Spinner(
step=1, value=1, width=300,
foo_check_box = CheckboxGroup(labels=‘I am a happy check box’, active=)
Say, I want to deactivate foo_spinner when the foo_check_box is not active (not selected). I would also like to set the value of foo_spinner equal to 30 when foo_check_box is activated (selected by the user)
Thank you in advance!