public Slider(value as Int = 50, minimum as Int = 0, maximum as Int = 100, orientation as String = Slider.HORIZONTAL):
Creates a slider with an initial value, range, and orientation.
The initial value is clamped without emitting valueChanged; only later user or programmatic changes emit the event.
slider = Slider(value=50, minimum=0, maximum=100, orientation=Slider.HORIZONTAL)