def METHOD_NAME(self, widget, path, text):
    tree_store: Gtk.ListStore = self.builder.get_object('tree_store')
    current_id = int(tree_store[path][2])
    if current_id>0:
        self._string_provider.get_model(self._current_lang).strings[
            current_id-1
        ] = text
        self._regenerate_list()
        self.module.mark_string_as_modified()