This should do it:


segmentedButton.setPressedButtons([]);