Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -230,9 +230,8 @@ def OnKeyPress(event):
|
||||
print("The Binding Function Was Called!")
|
||||
#
|
||||
def OnKeyPress2nd(event):
|
||||
result = Input_Box.count("1.0", "end-1c", "displaylines")
|
||||
print(result)
|
||||
print("The 2nd Binding Function Was Called!")
|
||||
print("displaylines:", Input_Box.count("1.0", "end", "displaylines"))
|
||||
print("lines:", Input_Box.count("1.0", "end", "lines"))
|
||||
#
|
||||
Input_Box.bind("<Return>", OnKeyPress2nd)
|
||||
Input_Box.bind("<Alt-KeyPress-Return>", OnKeyPress)
|
||||
|
||||
Reference in New Issue
Block a user