Port _SliderLayouter.py.