Commit Graph

5288 Commits

Author SHA1 Message Date
Will McGugan
661990f6e4 new blog post 2023-02-24 17:01:02 +00:00
Will McGugan
3c5ee42411 Merge pull request #1874 from Textualize/bump0.12.0
Bump0.12.0
v0.12.0
2023-02-24 15:32:24 +00:00
Will McGugan
e46d75de12 Merge pull request #1875 from tlambert03/timer-docs
add units to timer docs
2023-02-24 15:31:29 +00:00
Talley Lambert
04c75cd2d9 add units to timer docs 2023-02-24 08:52:05 -05:00
Will McGugan
99a9b6aa91 changelog 2023-02-24 12:46:21 +00:00
Will McGugan
0924bb2ba4 Version bump 2023-02-24 12:45:49 +00:00
Will McGugan
96370b1fd8 Merge pull request #1873 from Textualize/screen-children-fix
fix walk children
2023-02-24 12:36:58 +00:00
Will McGugan
5f1ca95f8a Merge pull request #1866 from Textualize/prevent-event
Add a "prevent" context manager
2023-02-24 12:36:46 +00:00
Will McGugan
825f21fe28 comments 2023-02-24 12:09:50 +00:00
Will McGugan
03ffcdab0f Update src/textual/message_pump.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:05:24 +00:00
Will McGugan
a5f139b45e Update src/textual/message_pump.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:04:08 +00:00
Will McGugan
15cd3ef5ed Update src/textual/dom.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:03:16 +00:00
Will McGugan
884db9c39c Update src/textual/dom.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:03:05 +00:00
Will McGugan
63438f170d Update docs/examples/events/prevent.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:02:56 +00:00
Will McGugan
217956bbdf Update docs/examples/events/prevent.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:02:46 +00:00
Will McGugan
0999114811 Update docs/guide/events.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-24 12:02:20 +00:00
Will McGugan
5a77e3493d add test 2023-02-24 10:13:58 +00:00
Will McGugan
c5cb0100ff fix walk children 2023-02-24 10:02:52 +00:00
Will McGugan
7c470fc5dd Move prevent stack to contextvar 2023-02-24 08:44:40 +00:00
Will McGugan
d1d6f03b2d microoptmization 2023-02-23 21:39:45 +00:00
Will McGugan
b2ab5b6886 docs 2023-02-23 21:36:33 +00:00
Will McGugan
3231b7a8b8 remove prevent from callback 2023-02-23 21:22:24 +00:00
Will McGugan
0894881950 simplify 2023-02-23 21:18:30 +00:00
Will McGugan
9579b9fd24 prevent API refinement 2023-02-23 21:15:05 +00:00
Will McGugan
2f104a5db4 pass prevented messages types in post 2023-02-23 17:41:13 +00:00
Will McGugan
fd13b33cce prevent message stack 2023-02-23 16:05:11 +00:00
Will McGugan
ba30e0dd66 set prevent 2023-02-23 15:34:02 +00:00
Will McGugan
c2ea074f4a fix name 2023-02-23 15:28:11 +00:00
Will McGugan
fd9ce05305 prevent messages stack 2023-02-23 15:26:41 +00:00
Will McGugan
0f1251d0bf pass prevent to messages 2023-02-23 15:22:40 +00:00
Will McGugan
da9e28d4d6 Add example 2023-02-23 14:41:44 +00:00
Will McGugan
dc4421e76a Merge pull request #1867 from davep/fix-switch-wording
Correct the wording of the description of `Switch.value`
2023-02-23 14:41:08 +00:00
Will McGugan
2ee61f95db Docs 2023-02-23 14:37:47 +00:00
Dave Pearson
6738c5686c Correct the wording of the description of Switch.value
It's not just the default value, it's the ongoing value too and can be used
to change the switch.
2023-02-23 14:28:25 +00:00
Will McGugan
4cf7492a28 docstrings 2023-02-23 13:53:36 +00:00
Will McGugan
f723f3771f changelog 2023-02-23 13:51:34 +00:00
Will McGugan
7d99d168ff prevent implementation 2023-02-23 13:49:07 +00:00
Dave Pearson
e3cbaa8dca Merge pull request #1862 from davep/textlog-docstring
Textlog docstring
2023-02-22 16:56:38 +00:00
Will McGugan
bf91805f1d Merge pull request #1861 from Textualize/fix-text-log-refresh
Fix text log refreshing
2023-02-22 16:48:31 +00:00
Dave Pearson
d854cb81af Add some reactive attribute docstrings to TextLog
A contribution to #1811.
2023-02-22 16:35:31 +00:00
Will McGugan
40de64773e superfluous refresh 2023-02-22 16:33:48 +00:00
Dave Pearson
7a0506a3a2 Add an __init__ docstring to TextLog
A contribution to #1811.
2023-02-22 16:32:45 +00:00
Will McGugan
13b99edbb9 Simplify 2023-02-22 16:31:31 +00:00
Will McGugan
bf50e6a424 changelog 2023-02-22 16:29:15 +00:00
Dave Pearson
a18685c9c8 Fix a copy/paste-o in the TextLog reference entry 2023-02-22 16:28:23 +00:00
Will McGugan
019a0dde5b Fix text log refreshing 2023-02-22 16:27:05 +00:00
Will McGugan
402ef0887d Merge pull request #1860 from Textualize/cache-internals
Cache internals
2023-02-22 16:06:35 +00:00
Will McGugan
d410a7c2fa Merge pull request #1854 from Textualize/css-fix-virtual-class
WIP Css fix virtual class
2023-02-22 16:01:48 +00:00
Will McGugan
497fff9135 typing 2023-02-22 16:00:41 +00:00
Will McGugan
07d728382d fix test 2023-02-22 15:59:34 +00:00