Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Nov 15, 2022 · 2 comments
Open

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

ghost opened this issue Nov 15, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 15, 2022

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.

@shenjackyuanjie
Copy link

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

from pyglet.window import Window

class MyWindow(Window):
    ...

@ghost
Copy link
Author

ghost commented Nov 18, 2022

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant