О событиях:
Events and BindingsНе совсем понял вопрос, но попробуй в обработчиках return ‘break’
You could use the bind_class method to modify the bindings on the class level, but that would change the behavior of all text widgets in the application. An easier solution is to prevent Tkinter from propagating the event to other handlers; just return the string “break” from your event handler:
def ignore(event):
return "break"
text.bind("<Return>", ignore)