टिंकर एप्लिकेशन विंडो को उसके डिफ़ॉल्ट आकार से प्रदर्शित करता है। हालांकि, हम विशेषताएं('पूर्णस्क्रीन', सही) का उपयोग करके एक पूर्ण-स्क्रीन विंडो प्रदर्शित कर सकते हैं तरीका। इस विधि का उपयोग आमतौर पर transparentcolor . जैसे गुणों वाली टिंकर विंडो असाइन करने के लिए किया जाता है , अल्फ़ा, अक्षम, फ़ुलस्क्रीन, टूलविंडो , और सबसे ऊपर ।
उदाहरण
#Import the tkinter library
from tkinter import *
#Create an instance of tkinter frame
win = Tk()
#Set the geometry
win.geometry("650x250")
#Add a text label and add the font property to it
label= Label(win, text= "Hello World!", font=('Times New Roman bold',20))
label.pack(padx=10, pady=10)
#Create a fullscreen window
win.attributes('-fullscreen', True)
win.mainloop() आउटपुट
उपरोक्त कोड को चलाने से एक पूर्ण-स्क्रीन विंडो प्रदर्शित होगी जिसे Alt+ F4 कुंजी दबाकर बंद किया जा सकता है।
