Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -212,6 +212,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())))
|
||||||
|
print("The Binding Function Was Called!")
|
||||||
#
|
#
|
||||||
Input_Box.bind("<KeyPress-KP_Enter>", OnKeyPress)
|
Input_Box.bind("<KeyPress-KP_Enter>", OnKeyPress)
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user