Re: [tkinter][Windows]Unexpected state report for the tab key

2021-10-25 Thread Rob Cliffe via Python-list
On 25/10/2021 02:57, Stefan Ram wrote: GetKeyState still returns that the tab key is pressed after the tab key already has been released. Well, how then am I going to make my slide show stop the moment the key is being released? Does tkinter allow you to trap KeyUp (and KeyDown) ev

Re: [tkinter][Windows]Unexpected state report for the tab key

2021-10-24 Thread Eryk Sun
On 10/24/21, Stefan Ram wrote: > r...@zedat.fu-berlin.de (Stefan Ram) writes: >>tab_down_hllDll.GetKeyState(tab_down_VK_TAB) & 0b1000 > > In the meantime, I read about "GetAsyncKeyState". I thought that > this would solve my problem, but no. Odd. It works for me in the classic con