def set_label(self, s, label):
        self.state.body_labels[self.bodies[self.index].segment_id] = label
        self.set_index(self.index + 1)
def _on_item_button_remove_clicked(self, button, item):
    self._locker.lock("emit_size_spin_button_value_changed")