cljfx 2024-07-13

What was the answer for key chords again? I've looked through the examples, but I couldn't find it. Which example should I be looking at?

If you are looking for global, scene-level shortcuts, these are called accelerators, here is an example: https://github.com/cljfx/cljfx/blob/master/examples/e23_accelerators.clj

for shortcuts in a context of a focused node, I usually do :on-key-pressed

regarding specifically detecting +, I think maybe [:plus] will work

I know javafx has some issues with defining handlers for some shortcuts when it comes to different keyboard layouts (not every keyboard layout does shift = as +), so you might want to try different options...

others would be ["+"]

or [:shift :equals]

Accelerators was exactly what I needed, thank you!