524 Commits

Author SHA1 Message Date
Will McGugan
be8c8f4d57 empty doc 2025-07-31 08:30:42 +01:00
fancidev
207cb38a2b Update docs with MouseScrollLeft and MouseScrollRight. 2025-07-28 06:36:57 +08:00
Will McGugan
5186802624 document set_class 2025-05-26 09:06:30 +01:00
Will McGugan
d60be19ba6 Merge branch 'main' into feature/first_child 2025-05-02 11:39:30 +01:00
Will McGugan
9095140943 words 2025-05-01 16:26:10 +01:00
Will McGugan
c3b5d4f55e words 2025-05-01 16:10:26 +01:00
Sergi Pons Freixes
d1da94bc8a Add documentation for first-child and last-child pseudo-classes 2025-04-28 20:45:00 -07:00
Will McGugan
036ac05500 disable live demos 2025-04-26 12:45:46 +01:00
Will McGugan
ead2b31bc1 added escaping to docs 2025-04-15 16:02:44 +01:00
Will McGugan
0e33c537d3 Rename textual markup to content markup 2025-04-11 09:38:00 +01:00
Paul Thebault
b38009006a Fixed missing word in the Content guide docs 2025-04-08 11:26:10 +02:00
Will McGugan
d076283607 words 2025-03-12 16:36:53 +07:00
TomJGooding
cefd94f993 docs(screens): add mention of DEFAULT_MODE
Add mention of the `DEFAULT_MODE` to the mode documentation.
2025-03-04 10:51:30 +00:00
Will McGugan
684cf4e5ac docs 2025-02-13 09:43:21 +00:00
Will McGugan
80ea233dc9 Merge pull request #5505 from TomJGooding/docs-fix-refs-to-rounded-borders
docs: fix references to rounded borders
2025-02-13 09:34:01 +00:00
TomJGooding
65eeb65742 docs: fix references to rounded borders
Fix 'rounded' border references in docs to 'round'.
2025-02-07 15:34:22 +00:00
Will McGugan
3585dbde3c docs 2025-02-07 15:00:25 +00:00
Will McGugan
df77f680cb docs update 2025-02-07 13:49:38 +00:00
Will McGugan
609a29ac35 words 2025-02-06 19:50:25 +00:00
Will McGugan
3716641824 snapshots 2025-02-06 16:57:27 +00:00
Will McGugan
bda56ab531 words 2025-02-06 16:39:45 +00:00
Will McGugan
32e852b9bf keys and playground 2025-02-06 16:31:12 +00:00
Will McGugan
4e03fea882 docs 2025-02-06 13:14:51 +00:00
Will McGugan
b49eb9ece3 docs and tests 2025-02-05 16:47:46 +00:00
Will McGugan
3ec59ee736 added substution 2025-02-04 13:02:57 +00:00
Will McGugan
97feb9ca34 content docs 2025-02-03 19:25:11 +00:00
Will McGugan
649abb5d18 fix dim 2025-02-03 12:16:11 +00:00
Will McGugan
7d228fd228 content docs 2025-02-02 19:37:36 +00:00
Will McGugan
d44788a29f docs 2025-01-27 15:02:07 +00:00
TomJGooding
dcc24eae82 docs: fix 'into' grammar 2024-12-30 20:33:02 +00:00
Darren Burns
83f92f926a Clarify 2024-12-17 11:45:57 +00:00
Darren Burns
82d0ac5fff Fix query_one docs mistake, and note that query_one searches under the widget it is called on 2024-12-17 11:41:53 +00:00
Darren Burns
3c120c0ab0 Chaining click events (double/triple click etc) (#5369)
* Add comment about Click events

* Remove unused `App._hover_effects_timer`

* Add missing annotation

* Add missing type annotation

* Add `App._click_chain_timer`

* Add support for click chaining (double click, triple click, etc.)

* Create `App.CLICK_CHAIN_TIME_THRESHOLD` for controlling click chain timing

* Some tests for chained clicks

* Test changes [no ci]

* Have Pilot send only MouseUp and MouseDown, and let Textual generate clicks itself [no ci]

* Fix DataTable click tet [no ci]

* Rename Click.count -> Click.chain

* Test fixes

* Enhance raw_click function documentation in test_app.py to clarify its purpose and behavior

* Refactor imports in events.py: remove Self from typing and import from typing_extensions

* Remove unnecessary pause in test_datatable_click_cell_cursor

* Remove debug print statements and unnecessary pause in App class; add on_mount method to LazyApp for better lifecycle management in tests

* Remove debugging prints

* Add support for double and triple clicks in testing guide

* Add a note about double and triple clicks to the docs

* Turn off formatter for a section of code, and make it 3.8 compatible

* Update changelog [no ci]

* Simplify by removing an unecessary variable in `Pilot.click`

* Remove debugging code

* Add target-version py38 to ruff config in pyproject.toml, and remove formatter comments

* Document timing of click chains

* Pilot.double_click and Pilot.triple_click
2024-12-11 16:25:42 +00:00
Will McGugan
4890c79944 Clipboard keys 2024-12-06 11:28:56 +00:00
Darren Burns
e376a4eed7 Remove input selection foreground 2024-12-04 13:59:04 +00:00
Darren Burns
b35b12872a Improving textual-light, border fixes 2024-11-13 15:59:13 +00:00
Darren Burns
d41f062cb5 Docs updates 2024-11-06 15:31:09 +00:00
Darren Burns
e23a0ef289 Theme examples 2024-11-06 14:23:57 +00:00
Darren Burns
23577858f3 Highlight lines in docs code 2024-11-06 11:00:07 +00:00
Darren Burns
ff92e72f2d Enumerating CSS variables 2024-11-06 10:50:08 +00:00
Darren Burns
be9f8eb00e Themes docs 2024-11-05 16:50:20 +00:00
Darren Burns
994e0a5e10 Docs for text color 2024-11-05 14:19:48 +00:00
Darren Burns
27d8079969 Buttons styles and their docs, updating snapshots 2024-10-31 11:31:10 +00:00
Darren Burns
fa7afb423d Merge branch 'main' of github.com:Textualize/textual into themes 2024-10-29 14:31:29 +00:00
Will McGugan
cc4e9c4bcf link doc 2024-10-29 13:58:10 +00:00
Darren Burns
4589f090a9 $foreground instead of $text in more places 2024-10-28 13:01:29 +00:00
Darren Burns
cd9ed5d4f8 More docs 2024-10-28 11:40:48 +00:00
Darren Burns
8442bb3e1a Adding Markdown widget variables 2024-10-28 11:32:15 +00:00
Darren Burns
6ad521d1ca Further docs updates to get rid of App.dark 2024-10-24 17:22:54 +01:00
Darren Burns
0c5f611c44 Further removal of App.dark from various places, swapping in App.theme equivalents 2024-10-24 17:11:25 +01:00