How to connect an event handler to a button in Makie.jl?

Huh you’re right. The button has a clicks attribute that counts clicks which you can lift / on

on(button.clicks) do c
    println("pressed $c times")
end
2 Likes