StringVar建立一個tk字串變數, 第一個參數為視窗物件,用value參數指定初始值var = tk. ... Button(root, textvariable=var, command=changeBtnText) ...
確定! 回上一頁