tkinter-widget 发表于 2020-09-19 分类于 Language 阅读次数: 本文字数: 210 阅读时长 ≈ 1 分钟 显示、隐藏组件self.buttonForget = tk.Button(self.root, text = 'Click to hide Label', command=lambda: self.label.pack_forget())# We need to call the pack() method again to pack the widget to make it visible, or in other words, to recover it.