scaleswitch.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:pkinter 作者: DeflatedPickle 项目源码 文件源码
def __init__(self, parent, *args):
        ttk.Scale.__init__(self, parent, from_=0, to=1, *args)
        self.parent = parent

        self._variable = tk.DoubleVar()
        self.configure(variable=self._variable)

        self.bind("<ButtonRelease-1>", self._activate, "+")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号