This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-03
Channels
- # adventofcode (107)
- # announcements (1)
- # asami (14)
- # babashka (67)
- # beginners (89)
- # calva (34)
- # cider (17)
- # clj-kondo (5)
- # cljs-dev (2)
- # clojure (57)
- # clojure-europe (52)
- # clojure-india (1)
- # clojure-italy (1)
- # clojure-losangeles (2)
- # clojure-nl (6)
- # clojure-uk (39)
- # clojurescript (40)
- # community-development (3)
- # conjure (3)
- # cursive (17)
- # datomic (11)
- # docker (13)
- # events (3)
- # figwheel-main (3)
- # fulcro (12)
- # graalvm (7)
- # holy-lambda (7)
- # honeysql (9)
- # introduce-yourself (5)
- # malli (9)
- # minecraft (3)
- # missionary (21)
- # nextjournal (7)
- # off-topic (52)
- # pathom (3)
- # polylith (11)
- # portal (3)
- # re-frame (21)
- # reagent (34)
- # reclojure (7)
- # reitit (1)
- # reveal (11)
- # shadow-cljs (68)
- # tools-build (12)
- # tools-deps (5)
- # vim (4)
- # xtdb (9)
@vlaaad good grief, working with the javafx webview is hard! i managed to finally call some js code from inside clojure and then some clojure code from inside js, if you are interested in making that possible
Yes I am! I've been meaning to improve web view to host interop, but couldn't find the time so far
@vlaaad here’s a gist of the basic idea to get both directions working: https://gist.github.com/Cyrik/4928f9db6af820af6fc443c50c958be5 I’d be nice if I could get the WebView without touching the internal of cljfx, but I only just started looking at it. Quick question about cljfx threading stuff: is there a way for me to run some of my code in that tread and to jump back into my thread from an eventHandler?
Do you only need serial execution on your thread? Maybe you could use agents in that case..
> back into … yeah I don’t think I need anything complicated there. the idea would be to rerun the code that generated some visualization when you click on a specific part of the vega renderer. I haven’t fully figured out the controls or the flow yet, but I’d like to be able to use vega as a UI for my lib, so that they can communicate back and forth. Is there an example somewhere of calling back into user code from a reveal view on the users thread that i could borrow?
ah sorry, I explained myself incorrectly. I’ve got my vega running already. what i meant i meant was just a very basic call from inside a reveal window into the user code thread, but i’ll check the docs for that.