Minecraft icon indicating copy to clipboard operation
Minecraft copied to clipboard

How can pyglet cancel the function of pressing the esc key to exit

Open ghost opened this issue 4 years ago • 2 comments

How can pyglet cancel the function of pressing the esc key to exit. Why does my pyglet program exit by pressing esc?
I haven't added this function myself.

ghost avatar Nov 15 '22 10:11 ghost

you can look at the offical document of pyglet add try write window by

from pyglet.window import Window

class MyWindow(Window):
    ...

shenjackyuanjie avatar Nov 17 '22 11:11 shenjackyuanjie

Thanks

ghost avatar Nov 18 '22 01:11 ghost