📜  单击按钮时 tkinter python 代码示例

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

代码示例1
def someFunction:
    function body

tkWindow = Tk()

button = Button(tkWindow, command=someFunction)