Skip to content

Commit 13d2ce0

Browse files
authoredApr 30, 2024
Update TitleTesting.py
1 parent 31c1f39 commit 13d2ce0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎TitleTesting.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@
55
root = tkinter.Tk()
66

77
def tkA():
8-
root.configure(text="Test Window")
8+
root.title("Test Window")
99

1010
def tkB():
11-
root.configure(text="Demo Window")
11+
root.title("Demo Window")
1212

1313
def tkC():
14-
root.configure(text="Support")
14+
root.title("Support")
1515

1616
def tkD():
17-
root.configure(text="Dictionary")
17+
root.title("Dictionary")
1818

1919
def tkE():
20-
root.configure(text="Documentation")
20+
root.title("Documentation")
2121

2222
def tkF():
23-
root.configure(text="Editor")
23+
root.title("Editor")
2424

2525
def tkG():
26-
root.configure(text="Photo Editor")
26+
root.title("Photo Editor")
2727

2828
def tkH():
29-
root.configure(text="Workstation")
29+
root.title("Workstation")
3030

3131

3232
buttonA = tkinter.Button(root, text="Change to Test Window", command=tkA)

0 commit comments

Comments
 (0)
Please sign in to comment.