def METHOD_NAME(self, widget, idx):
    old = dict(output_filetype=self._output_filetype)
    self._output_filetype = widget.get_text()
    new = dict(output_filetype=self._output_filetype)
    self.pipeline.push(AttrAction(self, old, new,
                                  descr="output / change output filetype"))