gui.py 文件源码

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

项目:qcri 作者: douville 项目源码 文件源码
def _make_combo(self, frame, text):
        tk.Label(frame, text='{}:'.format(text)).pack(side=tk.TOP)
        cbo = ttk.Combobox(frame, width=16, show='')
        cbo.pack(side=tk.TOP, padx=10, fill=tk.BOTH)
        cbo.bind('<Return>', self.check_password)
        cbo['values'] = self.history.get(text.lower(), [])
        if cbo['values']:
            cbo.set(cbo['values'][-1])
        return cbo
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号