capi:slider
I'm trying to get a capi:slider into an
application, but I don't understand how to access the slider's value - the
"reader" is
capi:slider-show-value-p
but I don't know how to use that in my (simplified)
example:
(defun remote ()
(capi:display (make-instance 'button-test
:window-styles '(:always-on-top
:borderless
:hides-on-deactivate)
:x 200
:y 200
:title "Button Test")))
(capi:display (make-instance 'button-test
:window-styles '(:always-on-top
:borderless
:hides-on-deactivate)
:x 200
:y 200
:title "Button Test")))
(capi:define-interface button-test ()
()
(:panes
(slider-1
capi:slider
:title "Distance"
:start 0
:end 1000)))
()
(:panes
(slider-1
capi:slider
:title "Distance"
:start 0
:end 1000)))
;capi:slider-show-value-p ????
Thanks as always for your patience!
Bruce.