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

on_key actually is in the base class #112

Closed
pauleveritt opened this issue Sep 16, 2021 · 2 comments
Closed

on_key actually is in the base class #112

pauleveritt opened this issue Sep 16, 2021 · 2 comments

Comments

@pauleveritt
Copy link

The README says: Event handlers in Textual are defined by convention, not by inheritance (so you won't find an on_key method in the base class)..

However, App.on_key actually is there.

@willmcgugan
Copy link
Collaborator

Clarified a little:

Event handlers in Textual are defined by convention, not by inheritance (there's no base class with all the handlers defined).

@github-actions
Copy link

Did I solve your problem?

Consider sponsoring my work on Textual with a monthly donation.

Or buy me a coffee to say thanks.

Will McGugan

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

2 participants