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

This commit is contained in:
2025-12-09 15:51:58 -08:00
parent ec259228ad
commit 528733ab95

View File

@@ -210,6 +210,11 @@ try:
except:
print("Mkay did not work.")
#
def OnKeyPress(event):
Test_var.set("There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines())))
#
Input_Box.bind("<KeyPress>", OnKeyPress)
#
My_Test_Label2 = Label(Controls_Box_Frame, textvariable=Test_var)
#My_Test_Label2["value"] = Test_var
#My_Test_Label2["text"] = MyTestText2