-1
如何更改此消息框出现在窗口的大小?我自己建立了这个盒子,让我把选项改为“谢谢”。基本Python消息框大小更改
这是到目前为止我的代码:
def messageWindow():
win = Toplevel()
win.title('warning')
message = "This will delete stuff"
Label(win, text=message).pack()
Button(win, text='Thanks!', command=win.destroy).pack()
非常感谢,新的是简单的,都不好意思了! – Jamie