Files
textual/tests
Rodrigo Girão Serrão 855c90d4f0 Extend @on decorator to filter matchable attributes (#2498)
* Add tests for #2484.

* Implement @on extension.

[skip ci]
Related issues: #2484.

* Changelog.

* Add missing @on test.

* Remove debug prints.

* Document changes.

* Update tests.

Test now fully works, as of #2490.

* Cache parsed selectors.

* Streamline exit condition.

* Fix typing.

* More succint wording.

* Document 'on' kwargs.

* Update src/textual/_on.py

Co-authored-by: Will McGugan <willmcgugan@gmail.com>

* Update docs/guide/events.md

Co-authored-by: Will McGugan <willmcgugan@gmail.com>

* Change 'on' API.

* Remove example code.

* Address feedback.

* Update src/textual/_on.py

Co-authored-by: Will McGugan <willmcgugan@gmail.com>

* Address review feedback.

* Fix #2499.

* don't require control to be manually specified

* update docstring

* deleted words

---------

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2023-05-08 17:30:07 +01:00
..
2023-05-01 16:22:35 +01:00
2023-04-20 17:09:39 +01:00
2023-05-08 10:55:39 +01:00
2021-07-05 20:37:54 +01:00
2022-10-29 10:03:26 +01:00
2023-05-08 10:55:39 +01:00
2023-04-16 12:31:39 +01:00
2023-04-06 17:30:32 +01:00
2023-04-24 09:33:15 +01:00
eof
2021-08-31 17:53:41 +01:00
2023-03-09 15:38:31 +00:00
2023-01-26 16:10:13 +01:00
2023-03-28 15:45:40 +01:00
2022-10-13 11:15:15 +01:00
2022-10-22 17:35:11 +01:00
2023-01-19 14:18:40 +00:00
2023-05-08 10:55:39 +01:00
2023-01-17 15:19:40 +00:00
2023-04-19 13:24:31 +01:00
2022-07-29 10:28:50 +01:00
2023-03-28 15:45:40 +01:00
2023-05-01 16:57:40 +01:00
2023-04-04 13:12:51 +01:00
2023-05-08 10:55:39 +01:00
2023-04-19 13:24:31 +01:00
2023-01-17 10:29:19 +00:00
2023-04-16 12:31:39 +01:00
2023-02-13 15:09:40 +00:00
2023-01-18 14:51:50 +00:00
2023-02-13 15:09:40 +00:00
2023-02-13 15:09:40 +00:00
2023-02-13 15:09:40 +00:00
2023-02-13 15:09:40 +00:00
2023-04-04 13:12:51 +01:00
2023-04-04 13:12:51 +01:00
2023-04-04 13:12:51 +01:00