📜  如何给出两个命令 tkinter - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:01.479000             🧑  作者: Mango

代码示例2
all_commands = lambda: [func1(), func2()]

button = Button(window, text="This is a button", command=all_commands)