In the tutorial there is the chapter on the listbox, i have tried to print out the selections, but it doesn't work for me. Maybe someone could point it out what am i doing wrong and why i don't get anything printed out in the REPL?
(def f (frame :title "sandiego"))
(def lb (listbox :model [:d "0 1 2 3" :f "g" 3 3 3 3 (range 2) 1 'f 2 3 4 5] :background :orange))
(listen lb :selection (fn [e] (println "selection" (selection e))))
(-> (config! f :content (scrollable lb))
(-> pack! show!))