Modify the gui_slider example in the text to include a persistent count variable in the callback function that counts how many times the slider is moved. This count should be displayed in a static text box in the upper right corner, as shown in Figure.
FIGURE Slider with count

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.