TkInter keypress, keyrelease events

后端 未结 4 1827
野性不改
野性不改 2020-12-01 11:52

I understood that the Tk keypress and keyrelease events were supposed only to fire when the key was actually pressed or released?

However with the following simple c

4条回答
  •  无人及你
    2020-12-01 12:29

    Autorepeat behavior is system dependent. In Win7,

    down a
    down a
    down a
    ...
    down a
    up a
    

    This is for less than a second.

提交回复
热议问题