event-handling

Tkinter windows key event

Tkinter windows key event Question: What is the event for the Windows key in Tkinter? I’m using Linux, but I would like answers for both Linux and Windows. If Mac has a similar key, feel free to let me know the binding for it. I imagine there are different events for the left and right …

Total answers: 2

How to trigger function on value change?

How to trigger function on value change? Question: I realise this question has to do with event-handling and i’ve read about Python event-handler a dispatchers, so either it did not answer my question or i completely missed out the information. I want method m() of object A to be triggered whenever value v is changing: …

Total answers: 6

vlc python bindings – how to receive keyboard input?

vlc python bindings – how to receive keyboard input? Question: I’m trying to use VLC’s python bindings to create my own little video player. The demo implementation is quite simple and nice, but it requires all the keyboard commands to be typed into the console from which the script was run. Is there any way …

Total answers: 4

Which Python packages offer a stand-alone event system?

Which Python packages offer a stand-alone event system? Question: I am aware of pydispatcher, but there must be other event-related packages around for Python. Which libraries are available? I’m not interested in event managers that are part of large frameworks, I’d rather use a small bare-bones solution that I can easily extend. Asked By: Josip …

Total answers: 16