News [Linux.org] Python Series Part 19: Binding Keys and Events - Part 1

News

LinuxBot

Member
Joined
Apr 25, 2017
Messages
5,738
Reaction score
74
Credits
-1,257
In the article on Tkinter Buttons, I mentioned binding keys to allow a key press to activate a button. Of course, other widgets have this ability as well. For buttons, we use an ‘underline’ feature to underline a character to show a user can access it with a key press instead of clicking it with the mouse. We can use the key binding process more later when we get to the article on ‘menus’. We will also cover a lengthy list of Events that can occur, because binding keys is creating an... https://www.linux.org/threads/python-series-part-19-binding-keys-and-events-part-1.57438/

Source: https://www.linux.org/threads/python-series-part-19-binding-keys-and-events-part-1.57438/

Aggregated via LinuxNews.net
 


Follow Linux.org

Members online


Top