Will McGugan
4c9326f66f
Merge pull request #1832 from Textualize/batch-update
...
Batch update
2023-02-21 10:42:31 +00:00
Will McGugan
068d7513b8
Merge pull request #1823 from Textualize/optimize-scroll
...
Optimize scroll with a Spatial Map
2023-02-21 10:41:04 +00:00
Will McGugan
453070032e
Merge pull request #1785 from davep/promote-disabled
...
Promote disabled to `Widget` level
2023-02-21 09:56:01 +00:00
Will McGugan
433e371dc9
changelog and snapshots
2023-02-19 10:05:37 +00:00
Will McGugan
9b81e59ff8
Merge branch 'optimize-scroll' into batch-update
2023-02-19 10:02:50 +00:00
Will McGugan
a63d07f619
enhanced ordered list
2023-02-19 09:18:26 +00:00
Will McGugan
434e6178d3
list item style
2023-02-18 23:25:17 +00:00
Will McGugan
5a6d718344
list item improvements
2023-02-18 23:15:15 +00:00
Will McGugan
c3e5e0490c
remove log
2023-02-18 22:46:43 +00:00
Will McGugan
724e0e3f58
Markdown and dictionary example
2023-02-18 22:43:13 +00:00
Will McGugan
665efa2d05
error handling in dictionary
2023-02-18 18:01:25 +00:00
Will McGugan
b6272a3b59
fix dictionary example going down
2023-02-18 17:57:48 +00:00
Dave Pearson
474209ec93
Switch 5x5's help over to the new Markdown viewer
2023-02-17 14:27:11 +00:00
Dave Pearson
4fe1e0f0c5
Merge branch 'main' into promote-disabled
2023-02-15 11:10:45 +00:00
Dave Pearson
6ab9a424a2
Merge branch 'main' into promote-disabled
2023-02-15 10:14:21 +00:00
Dave Pearson
96a53d56d7
Enable "pathlike" locations for the Markdown viewer
2023-02-15 09:55:20 +00:00
Dave Pearson
013f6cbc3f
Allow the markdown example to be run outside of examples directory
2023-02-15 09:43:21 +00:00
Will McGugan
08c3a7214e
No, I repeat, no abbreviations
2023-02-14 17:28:24 +00:00
Will McGugan
5a730d7a0a
typo and docstring
2023-02-14 16:48:25 +00:00
Will McGugan
71d0017ef9
docs and refactor
2023-02-14 15:22:15 +00:00
Dave Pearson
7763020f53
Move future import to after the module docstring
...
Looks like someone added this but placed it before the module docstring.
Fixing it as I notice it.
2023-02-14 15:00:57 +00:00
Dave Pearson
e26e75a9d1
Swap game_playable to use the simplified disable ability
2023-02-14 14:59:53 +00:00
Will McGugan
a6d7747f28
fix 5x5
2023-02-07 12:10:02 +00:00
Will McGugan
6c4adea608
update Mypy
2023-02-07 11:25:36 +00:00
Will McGugan
5930ebf82e
remove _typing.py
2023-02-07 10:46:28 +00:00
Will McGugan
bcf382d2ff
typing of Final
2023-02-07 09:06:08 +00:00
Dave Pearson
4adfe69ec9
Remove TreeNode as a pseudo-widget
...
This encourages importing it from `textual.widgets.tree` instead, keeping it
in line with the other changes made for #1637 .
Note this is a breaking change.
2023-01-23 17:37:58 +00:00
Galmo13
affcb60d9b
Fixed a typo
...
Fixed a "buy" by a "by".
2023-01-16 16:07:58 +01:00
Darren Burns
b9238f4651
Add 2022 year in review blog post
2022-12-20 17:24:19 +00:00
Dave Pearson
50dd8d095c
Remove universal=True from bindings in 5x5
...
Not only has universal not changed to priority, these bindings are on the
screen and so have priority anyway. This means we can safely go back to how
5x5 was prior to 0.6.0.
2022-12-15 14:30:48 +00:00
Dave Pearson
0f25031735
Make the cursor keys work in 5x5 again
...
The cursor keys stopped working in 5x5 once binding inheritance was
introduced in 0.6.0 (see #1343 ). Making them `universal` keys here fixes the
issue. This won't be the final form of this change, but this fixes this
example so that it works with 0.6.0 (so anyone cloning down the code and
running with an installed 0.6.0 will get the full effect).
Once the final work resulting from #1343 takes place this will need a final
update (and should be a good test example for the changes).
2022-12-14 11:51:17 +00:00
Will McGugan
13a207bacc
new blog post
2022-12-10 10:34:34 +00:00
Will McGugan
7ba70ada96
fix examples
2022-12-08 17:24:34 +00:00
Will McGugan
f7dade5a26
new tree control
2022-11-20 15:42:35 +00:00
Will McGugan
50d6e9736b
tweak
2022-11-19 19:36:44 +00:00
Will McGugan
811dcd8eaf
fix stable scrollbars
2022-11-19 17:21:23 +00:00
Will McGugan
e2f6e2f82d
added directory tree
2022-11-19 11:57:25 +00:00
Will McGugan
dfd7b6c8d9
added API to nodes
2022-11-18 17:09:47 +00:00
Will McGugan
fed9e7a939
merge
2022-11-18 16:15:33 +00:00
Dave Pearson
50860b98b6
Update the 5x5 example to make use of callable screens
...
Now that #1054 has made it into main, make use of it.
2022-11-18 13:43:27 +00:00
Will McGugan
d9a0da91a4
fixed some rendering glitches
2022-11-17 16:59:29 +00:00
Dave Pearson
c881a9657f
Add a Label widget
...
For the moment this does nothing more than inherit from a Static; but what
it does do is make it easier for someone to add text to their application
and to style it by styling all the Labels. Before now it would be common to
use a Static but if you try and style (or query) all Statics, you'd also get
things like Buttons, which inherit from Static.
See #1190
2022-11-16 15:03:24 +00:00
Will McGugan
39dced58e0
Merge pull request #1037 from Textualize/code-browser-improvements
...
Focus the directory tree in code browser example
2022-10-29 20:39:56 +01:00
Dave Pearson
daa69d4591
Fix spelling mistake in 5x5 CSS
...
Possibly not the worst bug ever found in Textual, but once seen you can't
unsee it.
2022-10-28 07:34:33 +01:00
Darren Burns
014fe42c42
Focus the directory tree
2022-10-27 14:30:22 +01:00
Will McGugan
842148d40f
Merge pull request #1007 from davep/5x5-tidy
...
Tidy up some of the documentation in the FiveByFive example
2022-10-25 13:53:16 +01:00
Dave Pearson
7ebfb1e714
Make the game size Final
...
I mean... the clue is in the name of the game, right?
2022-10-25 08:57:00 +01:00
Dave Pearson
ce6ed54f37
Tidy up various class properties documentation
...
Rather than use the Sphinx-influenced '#:' style of comment, switch to the
more docstring-a-like approach used in the Google style.
2022-10-25 08:54:50 +01:00
Will McGugan
6f602f02c0
Add sensible error to query
2022-10-23 09:52:31 +01:00
Will McGugan
9d0f8f1e48
typing pride
2022-10-22 08:34:23 +01:00