In [1]:
(use-package :jupyter-widgets)
Out[1]:
T
In [2]:
(defvar a-button (make-instance 'button :description "Click me" :on-click (list (lambda (w) (setf (widget-description w) "I've been clicked.")))))

a-button
Out[2]:
A-BUTTON
In [3]:
(defvar a-int-slider (make-instance 'int-slider))

a-int-slider
Out[3]:
A-INT-SLIDER
In [4]:
(widget-value a-int-slider)
Out[4]:
53
In [5]:
(setf (widget-value a-int-slider) 10)
Out[5]:
10
In [6]:
(setf (widget-orientation a-int-slider) "vertical")
Out[6]:
"vertical"
In [7]:
a-int-slider
In [ ]: