I am trying to listen every interaction event that is generated by the boxWidget, but I am not able to get the solution
(defn myCallback [] (let [t (vtk.vtkTransform.)] (doto boxWidget (.GetTransform t) (-> (.GetProp3D) (.SetUserTransform t)) ))) (defn listener [] (proxy [Object] [])) (doto boxWidget (.AddObserver "InteractionEvent" listener myCallback) (.On) ) This is the error that I get: Exception in thread "main" java.lang.ClassCastException: user$main$myCallback__238 cannot be cast to java.lang.String -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en