We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLMakie
using GLMakie function map_on_keyboard(fig, stime) on(events(fig).keyboardbutton) do event if event.action == Keyboard.press || event.action == Keyboard.repeat if event.key == Keyboard.right stime[] += 1 elseif event.key == Keyboard.left stime[] > 1 && (stime[] -= 1) end end return Consume(false) end end begin fig = Figure(size=(1200, 100)) stime = SliderGrid(fig[1, 1], (label="Date", range=1:10, startvalue=1)).sliders[1].value map_on_keyboard(fig, stime) fig end
The text was updated successfully, but these errors were encountered:
You should use set_close_to!(slider, value) to update values.
set_close_to!(slider, value)
Sorry, something went wrong.
No branches or pull requests
GLMakie
: v0.9.3The text was updated successfully, but these errors were encountered: