def _volume_offset_changed(self, event):
        """
        Called when the user inputs text in this panel to
        change the volume offset.
        """
        new_value = self._volume_offset_text.GetValue()
        try:
            new_value = int(new_value)
            self._model.set_volume_offset(new_value)
            self._volume_offset_label.SetValue(self._volume_offset_label_ok)
        except __HOLE__:
            self._volume_offset_label.SetValue(self._volume_offset_label_fail)
dataset/ETHPy150Open williballenthin/INDXParse/MFTView.py/DiskGeometryWarningPanel._volume_offset_changed