Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-09 16:08:07 -08:00
parent 47985d3377
commit d4e298fc1a

View File

@@ -213,7 +213,7 @@ except:
def OnKeyPress(event): def OnKeyPress(event):
Test_var.set("There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines()))) Test_var.set("There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines())))
# #
Input_Box.bind("<KP_Enter>", OnKeyPress) Input_Box.bind("<KeyPress-KP_Enter>", OnKeyPress)
# #
My_Test_Label2 = Label(Controls_Box_Frame, textvariable=Test_var) My_Test_Label2 = Label(Controls_Box_Frame, textvariable=Test_var)
#My_Test_Label2["value"] = Test_var #My_Test_Label2["value"] = Test_var