Exemple #1
0
    def handler_loop(self):
        if self.bag.file_changed():
            self._bag = Bag.from_file_or_new(self.bag.filename)
            self.refresh_words()

        self.after(500, self.handler_loop)
Exemple #2
0
 def load_bag(self):
     self._bag = Bag.from_file_or_new()
     self.refresh_words()