def __init__(self, parent, from_=0, to=0, *args):
ttk.Scale.__init__(self, parent, command=self._round, from_=from_, to=to, *args)
self.parent = parent
self._from = from_
self._to = to
self._value = self.get()
评论列表
文章目录