# How to reset slider value

**URL:** <https://discourse.julialang.org/t/how-to-reset-slider-value/75016>\
**Category:** Visualization\
**Tags:** gtk\
**Created:** [January 21, 2022, 11:38pm UTC](https://discourse.julialang.org/t/how-to-reset-slider-value/75016 "2022-01-21T23:38:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![das](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@das](https://discourse.julialang.org/u/das)\
**Post date:** [January 21, 2022, 11:38pm UTC](https://discourse.julialang.org/t/how-to-reset-slider-value/75016/1 "2022-01-21T23:38:34Z")

</div>

Hi everyone,

I need to set, read, and reset the value of a slider (using Gtk.jl).

To set the value I use: notesSlider = slider(1:200, value = 1)  
To read the value I use: v = value(signal(notesSlider)

but I’ve had not luck trying to reset it to a value of 1 (and having the screen show the value back on the left of the slider at the “1” position).

I’d sure appreciate some help. Thanks.
