Variable Slider variable_slider $value _$(id)_control = grc_wxgui.slider_$(slider_type)_control( window=self.GetWin(), callback=self.set_$(id), #if $label.eval label=$label, #else label='$id', #end if value=$id, min=$min, max=$max, num_steps=$num_steps, slider_length=$slider_length, ) #set $grid_pos = $grid_pos.eval #if not grid_pos self.Add(_$(id)_control) #else self.GridAdd(_$(id)_control, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3]) #end if Label label string Default Value value 50 real Minimum min 0 real Maximum max 100 real Num Steps num_steps 100 int part Slider Length (px) slider_length 200 int part Slider Type slider_type horizontal enum Grid Position grid_pos grid_pos $min <= $value <= $max $min < $max 0 < $num_steps <= 1000 This block creates a variable with a slider. \ Leave the label blank to use the variable id as the label. \ The value must be a real number. \ The value must be between the minimum and the maximum. \ The number of steps must be between 0 and 1000. Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.