diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index a799113..19b6c1b 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -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("", OnKeyPress) +# My_Test_Label2 = Label(Controls_Box_Frame, textvariable=Test_var) #My_Test_Label2["value"] = Test_var #My_Test_Label2["text"] = MyTestText2