टिंकर एप्लिकेशन विंडो में कई घटक होते हैं:विंडो आकार, शीर्षक, नेवबार, मेन्यूबार-घटक, आदि। विंडो विशेषताओं या गुणों को कॉन्फ़िगर करने के लिए, हम Tcl/Tk में परिभाषित विंडो प्रबंधक टूलकिट का उपयोग कर सकते हैं।
विंडो प्रबंधक विशेषताओं को चलाने के लिए, 'wm' . कमांड का उपयोग करें अन्य कीवर्ड के साथ। विंडो का शीर्षक wm_title("title") या title("title") का उपयोग करके कॉन्फ़िगर किया जा सकता है विधि।
उदाहरण
# Import the required libraries
from tkinter import *
# Create an instance of tkinter frame or window
win=Tk()
# Set the size of the window
win.geometry("700x350")
# Change the title of the window
win.wm_title("My Window")
Label(win, text="Hello, Welcome to Tutorialspoint...", font=('Calibri 24')).pack()
win.mainloop() आउटपुट
यदि हम उपरोक्त कोड चलाते हैं, तो यह "My Window" शीर्षक वाली एक विंडो प्रदर्शित करेगा।
