Exemplo n.º 1
0
 def __init__(self, parent: StringVar, start_index: int, end_index: int):
     StringVar.__init__(self)
     self.__parent = parent
     self.__start = start_index
     self.__end = end_index
     self.__parent.trace("w", self.__change_parent_callback)
     self.trace("w", self.__change_callback)
Exemplo n.º 2
0
 def __init__(self):
     StringVar.__init__(self)
     self.history = []
Exemplo n.º 3
0
 def __init__(self, *args, **kw):
     StringVar.__init__(self, *args, **kw)
     self.output_categories = []
     self.input_categories = []
Exemplo n.º 4
0
 def __init__(self):
     self.history = []
     StringVar.__init__(self)
Exemplo n.º 5
0
 def undo(self):
     if len(self.history) > 1:
         self.history = self.history[:-1]
         StringVar.__init__(self, value=self.history[-1])
Exemplo n.º 6
0
 def set(self, value):
     if value not in self.history:
         StringVar.__init__(self, value=value)
         self.history.append(value)
Exemplo n.º 7
0
 def __init__(self, *args, **kw):
     StringVar.__init__(self, *args, **kw)
     self.output_categories = []
     self.input_categories = []
Exemplo n.º 8
0
 def __init__(self):
     StringVar.__init__(self)
     self._h_list = []
Exemplo n.º 9
0
 def __init__(self):
     StringVar.__init__(self)
     self._history = []