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

This commit is contained in:
2025-12-09 16:04:45 -08:00
parent 528733ab95
commit 47985d3377

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("<KeyPress>", OnKeyPress) Input_Box.bind("<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