Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user