tkinter窗口最大化

import tkinter as tk
top=tk.Tk()
w,h=top.maxsize()
top.geometry("{}x{}".format(w, h))
top.title("Hello World")
top.mainloop()

  

猜你喜欢

转载自www.cnblogs.com/qingc/p/9159650.html