Найти - Пользователи
Полная версия: Tkinter события Entry
Начало » GUI » Tkinter события Entry
1
typ1972
Народ, есть у виджета Entry такие события как “До обновления”, “После обновления”, “Обновление”????
vkopey
О событиях:
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)
sp3
KeyPress - в Entry символа еще нет, можно заигнорить
KeyRelease -после отпускания кнопки, уже есть
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB