Commit Graph

2154 Commits

Author SHA1 Message Date
Will McGugan
5d8fafc74d background logic 2022-08-19 17:51:30 +01:00
Will McGugan
b3feec1ef9 docs and fixes 2022-08-19 17:32:56 +01:00
darrenburns
fec73ba0e1 Docs content align (#700)
* Docs for content-align, some bug fixes for it too

* Make the example output a little clearer

* Remove app.run() from content-align docs example

* Improve wording

* Move content-align and scrollbar-gutter docs exmaples to split css/py files

* Remove app.run() from scrollbar-gutter docs example
2022-08-19 15:35:31 +01:00
Darren Burns
4cb57bb48e Split layout into separate Python and CSS files for docs example 2022-08-19 15:25:27 +01:00
darrenburns
3749412d2f Animation callback (#683)
* Add on_complete callback to Animations

* Add tests for on_complete Animation callbacks

* Update __textual_animation__ signature to include callback

* Support awaitable callbacks for animator on_complete

* Import tidying

* Update animator tests
2022-08-19 14:55:53 +01:00
Darren Burns
a26cc3939d Simplify layout docs wording 2022-08-19 14:52:22 +01:00
Darren Burns
430321684c Add layout.md to docs nav index 2022-08-19 14:51:45 +01:00
Darren Burns
721e58ab08 Consistency 2022-08-19 14:46:05 +01:00
Darren Burns
dce81254bf Add docs for layout property 2022-08-19 14:44:25 +01:00
Will McGugan
ac24e77ecf fix screenshots 2022-08-19 14:13:57 +01:00
darrenburns
9eea01f5a1 Docs scrollbar gutter (#695)
* Add scrollbar-gutter docs

* Add scrollbar-gutter docs

* Add syntax and values section

* Rewording
2022-08-19 13:07:22 +01:00
Will McGugan
cccf0bd51b Merge branch 'css' into docs-intro 2022-08-19 11:39:55 +01:00
Will McGugan
afdac156a4 Merge pull request #696 from Textualize/auto-refresh
tests for auto refresh
2022-08-19 11:37:06 +01:00
Will McGugan
a6e4db6ff2 tweak default screen style 2022-08-19 11:28:13 +01:00
Will McGugan
6a22c96a9e screen fix 2022-08-19 11:06:10 +01:00
Will McGugan
ee97553c18 fix for watchers 2022-08-19 10:23:06 +01:00
Darren Burns
2fbafe8322 Small fixes 2022-08-19 10:21:23 +01:00
Will McGugan
6ce6dc76f8 simplify 2022-08-19 09:38:43 +01:00
Will McGugan
fd349aa658 fix for removing 2022-08-19 09:33:36 +01:00
Will McGugan
e761e7ae8f timer example 2022-08-18 16:05:11 +01:00
Will McGugan
a8fd029381 Merge branch 'auto-refresh' into docs-intro 2022-08-18 13:35:25 +01:00
Will McGugan
9c6aa6b52d cosmetic 2022-08-18 11:15:30 +01:00
Will McGugan
45cd683434 typo 2022-08-18 11:14:33 +01:00
Will McGugan
e2c2f1abab relax constraint again 2022-08-18 11:10:43 +01:00
Will McGugan
ea5af6b668 raise quit after 2022-08-18 11:04:15 +01:00
Will McGugan
709c2ae961 cleaner logic re driver 2022-08-18 11:00:32 +01:00
Will McGugan
883e66aae5 relax constraint again 2022-08-18 10:53:57 +01:00
Will McGugan
48468e2576 simplify test 2022-08-18 10:49:46 +01:00
Will McGugan
015c4e86c7 relax constraint 2022-08-18 10:48:53 +01:00
Will McGugan
3631969f5d typing 2022-08-18 10:45:40 +01:00
Will McGugan
bf38dc3e2e fix whitespace error 2022-08-18 10:39:52 +01:00
Will McGugan
60527b3322 Merge pull request #680 from Textualize/css-syntax-error-message
Improve error message for CSS syntax error
2022-08-18 10:38:42 +01:00
Will McGugan
5328d77473 headless driver and tests 2022-08-18 10:37:11 +01:00
Will McGugan
de8569ecfb docstring 2022-08-18 10:35:17 +01:00
Will McGugan
965f3447d5 made features a frozenset 2022-08-18 10:34:38 +01:00
Darren Burns
113ac87c9e Use friendly_list in syntax error message 2022-08-18 10:28:55 +01:00
Will McGugan
c717dec982 tests for auto refresh 2022-08-18 10:20:03 +01:00
Will McGugan
7ef6cb0b85 docs yml 2022-08-17 16:20:17 +01:00
Will McGugan
2650dd500d Events 2022-08-17 16:11:12 +01:00
Will McGugan
29422a6d0b Merge branch 'css' into docs-intro 2022-08-17 15:05:13 +01:00
Will McGugan
f81f4484ca Merge pull request #685 from Textualize/screens
Screens API
2022-08-17 12:04:44 +01:00
Will McGugan
e2d78ee88f review changes 2022-08-17 11:59:06 +01:00
Will McGugan
d5b3b752c6 skip on py310 2022-08-17 10:12:37 +01:00
Will McGugan
11191b2109 fix segmentation fault 2022-08-17 10:06:25 +01:00
Will McGugan
d7656abb82 fix e2e 2022-08-17 09:55:54 +01:00
Will McGugan
cb7d806040 added quit_after 2022-08-17 09:47:54 +01:00
Will McGugan
abe87f755c docstring 2022-08-17 09:37:28 +01:00
Will McGugan
4b596352d9 removed cruft 2022-08-17 09:33:46 +01:00
Will McGugan
40374984ed test 2022-08-17 09:20:31 +01:00
Will McGugan
78c6c89544 added tests for screens 2022-08-17 09:17:39 +01:00