Dave Pearson
f436489efa
Rework the layout of the radio set example
...
Time to start to show off the new compose method.
2023-02-27 09:08:40 +00:00
Dave Pearson
3de871f379
Use prevent to stop the Changed event on initial value setting
2023-02-27 09:03:17 +00:00
Dave Pearson
e6e46d0825
Merge branch 'main' into toggle-boxen
2023-02-27 08:53:30 +00:00
Will McGugan
f16f9c2a5c
Merge pull request #1887 from Textualize/exceptions-from-mount
...
catch exceptions from post mount
2023-02-26 22:28:56 +00:00
Will McGugan
0d082eff0a
Merge pull request #1885 from Textualize/compose-docs
...
Added docs for the new compose method
2023-02-26 22:28:34 +00:00
Will McGugan
8ba789367b
catch exceptions from post mount
2023-02-26 16:54:29 +00:00
Will McGugan
5b1cba1d85
update to copy
2023-02-26 12:31:50 +00:00
Will McGugan
bc620fd46f
remove highlighted line
2023-02-26 12:24:39 +00:00
Will McGugan
da1a820565
highlight lines
2023-02-26 12:08:18 +00:00
Will McGugan
b23fbd9be8
words
2023-02-26 10:36:17 +00:00
Will McGugan
9c1f6f7fad
Added docs for the new compose method
2023-02-26 10:34:30 +00:00
Will McGugan
5c2cf2960e
new syntax for calculator
2023-02-25 14:41:00 +00:00
Will McGugan
43849c3e8b
Merge pull request #1880 from Textualize/batch-fix
...
batch update fix, and optimization
v0.12.1
2023-02-25 08:28:18 +00:00
Will McGugan
4e766887bc
version bump
2023-02-25 08:19:08 +00:00
Will McGugan
8b17579ff4
changelog
2023-02-25 08:18:37 +00:00
Will McGugan
05bb10aed0
batch update fix, and optimization
2023-02-25 08:15:00 +00:00
Will McGugan
bd838c7f03
added hr to markdown example
2023-02-24 17:33:20 +00:00
Will McGugan
948b67938f
Merge pull request #1876 from Textualize/blog-release-0120
...
new blog post
2023-02-24 17:28:35 +00:00
Will McGugan
461abc7fbe
missing bracket
2023-02-24 17:19:55 +00:00
Will McGugan
33bbdf14a3
docstring
2023-02-24 17:12:29 +00:00
Will McGugan
01a4ed97e1
update blog
2023-02-24 17:12:29 +00:00
Will McGugan
e3976155fd
Update docs/blog/posts/release0-12-0.md
...
Co-authored-by: Dave Pearson <davep@davep.org >
2023-02-24 17:12:14 +00:00
Will McGugan
8a5e5f29e0
Update docs/blog/posts/release0-12-0.md
...
Co-authored-by: Dave Pearson <davep@davep.org >
2023-02-24 17:12:04 +00:00
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
Dave Pearson
f0a6771533
Update the ChangeLog and the roadmap
2023-02-23 22:14:41 +00:00
Dave Pearson
24ce819867
Add snapshot tests for the toggle button examples
2023-02-23 22:05:47 +00:00
Dave Pearson
719c831e3b
Add some unit testing for RadioSet
2023-02-23 21:50:14 +00:00
Dave Pearson
8d726fba88
Ensure the pressed button index is correct in the message
...
At the time that we're raising RadioSet.Changed, we can't be sure that the
class updates and the like have finished post RadioButton.watch_value
happening; this means that the "public" route to getting the pressed index
could be wrong (or rather, not quite up to date yet).
Meanwhile, here, we know the button involved, so we go looking for its index
directly.
2023-02-23 21:47:32 +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
Dave Pearson
d341b8b1b8
Fix a couple of copy/paste-o docstrings
2023-02-23 21:30:06 +00:00
Will McGugan
3231b7a8b8
remove prevent from callback
2023-02-23 21:22:24 +00:00