Can message handlers be private? #3391
-
Hi, I saw these two methods in Both are not overrides of https://textual.textualize.io/guide/events/#handler-naming Is there any difference between prefixing handlers with Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
They can indeed be private. This was to allow widgets in the code library to define handlers, without forcing subclasses to stick to the same signature. |
Beta Was this translation helpful? Give feedback.
They can indeed be private. This was to allow widgets in the code library to define handlers, without forcing subclasses to stick to the same signature.