Toggle tkinter window visibility

前端 未结 0 1910
抹茶落季
抹茶落季 2021-01-30 21:38

I\'m trying to toggle tkinter window visibility when I click p.

toggle = True

if keyboard.is_pressed(\'p\'):
    toggle = not toggle

if toggle:
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题