News [Linux.org] Python Series Part 20: Binding Keys and Events - Part 2

News

LinuxBot

Member
Joined
Apr 25, 2017
Messages
5,739
Reaction score
74
Credits
-1,257
Now we can continue learning about Python by Binding Keys and Events. If you have not read the previous article, then you definitely need to read it since this article continues and builds on all of it. Some of the following examples may contain material from the first article. Mouse : MouseWheel You need to use the 'MouseWheel' event on objects that can scroll. Let's look at an example where we have a global variable to keep count, called 'counter'. When you turn the wheel while... https://www.linux.org/threads/python-series-part-20-binding-keys-and-events-part-2.57751/

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

Aggregated via Linux News
 


Follow Linux.org

Members online


Top