Esempio n. 1
0
 def _edit_value(self, *args):
     from rokugani.winapp._dialogs import InputDialog
     current = self._builder.get_value(self._model_attr)
     value, ok = InputDialog.select_text(
         self._view,
         'SELECT',
         self._model_attr,
         text=current
     )
     if ok:
         self._builder.set_value(self._model_attr, value)