Tkinter tạo cửa sổ chứa widget, thanh điều khiển. Chuyển ứng dụng native sang fullscreen bằng attribute('-fullscreen', True). Gọi phương thức với cửa sổ cụ thể.
Ví dụ
# Import tkinter library
from tkinter import *
# Tạo instance tkinter frame
win = Tk()
# Đặt geometry
win.geometry("750x250")
# Tạo Text widget
text= Label(win, text=" Hello\nWelcome to Tutorialspoint.com!",font=('Century Schoolbook', 20, 'italic bold'))
text.pack(pady=30)
win.attributes('-fullscreen',True)
win.mainloop()
Kết quả
Chạy mã hiển thị cửa sổ toàn màn hình.

Vì thanh điều khiển Windows ẩn, đóng cửa sổ bằng "Alt +F4".