Hai cách làm cửa sổ Tkinter toàn màn hình:
root.state('zoomed') — phóng to cửa sổ.
root.attributes('-fullscreen', True) — chế độ toàn màn hình thực sự.
Ví dụ 1: state('zoomed')
from tkinter import *
root = Tk()
Label(root, text="Welcome to Tutorialspoint", font="Calibri, 20").pack(pady=20)
root.state('zoomed')
root.mainloop()
Kết quả
Cửa sổ mở to kích thước màn hình (có thanh tiêu đề).

Ví dụ 2: attributes('-fullscreen', True)
from tkinter import *
root = Tk()
Label(root, text="Welcome to Tutorialspoint", font="Calibri, 20").pack(pady=20)
root.attributes('-fullscreen', True)
root.mainloop()
Kết quả
Cửa sổ toàn màn hình, ẩn thanh tiêu đề.
