टिंकर विंडो के टाइटल बार को हटाने के लिए, हम उपयोग कर सकते हैं wm_attributes('type', 'value') संपत्ति के प्रकार को निर्दिष्ट करके विधि। निम्नलिखित उदाहरण में, हम 'पूर्णस्क्रीन . का उपयोग करेंगे ', एक बूलियन मान जो विंडो के टाइटल बार को हटा देता है।
उदाहरण
#Import the tkinter library
from tkinter import *
#Create an instance of tkinter frame
win = Tk()
win.geometry("700x350")
#Create a Label to print the Name
label= Label(win, text="This is a New Line Text", font= ('Helvetica 14 bold'), foreground= "red3")
label.pack()
win.wm_attributes('-fullscreen', 'True')
win.mainloop() आउटपुट
उपरोक्त कोड को चलाने से टाइटल बार के बिना एक पूर्ण स्क्रीन विंडो प्रदर्शित होगी।
