Code example
UlcSlider new horizontal: true; minimumValue: 0; maximumValue: 100; value: 44; yourself
If the values are not in the allowed range (0 to 100 in this example), the corresponding extreme value is used (that is, if the value is set to 144, the widget shows the value as 100).