Commit Graph

4471 Commits

Author SHA1 Message Date
Dave Pearson
23bfb08693 Merge pull request #1574 from Galmo13/patch-1
Fixed a typo in Examples/README.md
2023-01-16 15:10:44 +00:00
Galmo13
affcb60d9b Fixed a typo
Fixed a "buy" by a "by".
2023-01-16 16:07:58 +01:00
Darren Burns
ef6b13ff2d Add docstrings, remove redundant comment 2023-01-16 15:04:38 +00:00
Dave Pearson
3dae3ae5d2 Document the reactive properties of the Checkbox 2023-01-16 14:51:01 +00:00
Dave Pearson
2e84902207 Document some of the Button reactive properties 2023-01-16 14:47:34 +00:00
Darren Burns
4740afc227 Emitting RowHighlighted events from DataTable 2023-01-16 14:23:21 +00:00
Darren Burns
aaa61bb9e3 DataTable emission of RowSelected events 2023-01-16 14:20:06 +00:00
Darren Burns
c70575bab5 Row selection and highlighting event definitions for DataTable 2023-01-16 14:16:14 +00:00
Darren Burns
440a7b1c4a Docstring improvements 2023-01-16 14:03:20 +00:00
Darren Burns
11aa3b22d5 DataTable cell selection and highlighting 2023-01-16 14:00:08 +00:00
Dave Pearson
09487a36ed Remove typing from Binding property docstrings
See #1573.
2023-01-16 12:59:23 +00:00
Darren Burns
a93be8e0fe Add definitions of Cell related events to DataTable 2023-01-16 12:33:29 +00:00
Darren Burns
7f86ec1cec Remove unused Cell class from DataTable 2023-01-16 12:24:58 +00:00
Darren Burns
48df96dbec Remove redundant CSS from ListView 2023-01-16 12:21:45 +00:00
Darren Burns
aa5bd46a33 Reordering some methods 2023-01-16 11:39:22 +00:00
Darren Burns
71d7d61626 Hide hover cursor when type changes 2023-01-16 11:38:52 +00:00
Darren Burns
ca9d32bd2d Ensure fixed columns cursor/hover styles are correct 2023-01-16 11:36:36 +00:00
Darren Burns
92ccf84496 Some updates to test_reactive 2023-01-16 11:06:13 +00:00
Darren Burns
fa1f33ff64 Remove a sleep that is no longer required in reactive test 2023-01-16 11:02:38 +00:00
Darren Burns
65223be8be Merge branch 'main' of github.com:Textualize/textual into datatable-events 2023-01-16 11:00:10 +00:00
Darren Burns
2814e1f93c Documentation updates 2023-01-16 10:50:41 +00:00
Dave Pearson
cb7adb78bf Move the title and sub_title docstrings to __ini__
According to the current working of out documentation generation pipeline,
this is the way to document a reactive property that is referred to within
the owner class' __init__.

See #1572 and #1564.
2023-01-16 10:32:49 +00:00
Darren Burns
e3aebc4215 Switching to BINDINGS instead of key_* methods in DataTable 2023-01-16 10:27:45 +00:00
Darren Burns
62c05f7fbc Update datatable snapshot - hover cursor no longer shown 2023-01-16 10:01:02 +00:00
Dave Pearson
f72a4cfa8c Document the sub_title reactive instance attribute
See #1564.
2023-01-16 07:06:33 +00:00
Dave Pearson
7f9c109a79 Document the title reactive instance attribute
See #1564.
2023-01-16 07:00:18 +00:00
Dave Pearson
97248d202b Document the SUB_TITLE class attribute
See #1564.
2023-01-16 06:56:47 +00:00
Dave Pearson
f9d0796d77 Document the TITLE class attribute
See #1564.
2023-01-16 06:54:07 +00:00
Will McGugan
45abae5888 Merge pull request #1546 from Textualize/fix-1399
Make `COMPONENT_CLASSES` inheritable and add classvar to prevent inheritance.
2023-01-15 02:43:48 -08:00
Will McGugan
974a0b8020 Merge branch 'main' into fix-1399 2023-01-15 02:43:41 -08:00
Dave Pearson
1b9f51a272 Merge branch 'main' into issue/1201/scroll-to-with-code 2023-01-15 10:36:21 +00:00
Dave Pearson
843810ef17 Remove no-scroll guard from scroll watchers 2023-01-15 10:35:20 +00:00
Dave Pearson
8b3608ec8b Merge branch 'issue/1201/scroll-to-with-code' of github.com:davep/textual into issue/1201/scroll-to-with-code 2023-01-15 10:33:07 +00:00
Will McGugan
2468a8ca83 Merge pull request #1555 from Textualize/rodrigogiraoserrao-patch-1
Fix tests: await all mounts before checking rendered values
2023-01-15 02:30:41 -08:00
Will McGugan
7dcfcadeeb Merge pull request #1561 from davep/tweak-query-one-docs
Tweak `query_one` and related methods docstrings
2023-01-15 02:30:29 -08:00
Will McGugan
831ef70610 Merge pull request #1558 from Textualize/reactive-work
Reactive refactor and fixes
2023-01-15 02:15:15 -08:00
Will McGugan
582aadb4b2 docstring [skip ci] 2023-01-15 10:10:52 +00:00
Will McGugan
6d57ba4623 docstring fix 2023-01-13 22:17:48 +00:00
Will McGugan
6063b0c9b2 remove comment [skip ci] 2023-01-13 21:17:19 +00:00
Will McGugan
6af2b61fc7 watching computed 2023-01-13 20:56:33 +00:00
Will McGugan
35cbd30fb7 fix superfluous scrollbars 2023-01-13 20:50:00 +00:00
Will McGugan
5f77cd189f fix reactive computes 2023-01-13 18:18:12 +00:00
Will McGugan
90f570494d docstring 2023-01-13 17:40:42 +00:00
Will McGugan
fb5dccf739 fix return 2023-01-13 17:37:02 +00:00
Will McGugan
40434e7ef1 co_compute to compute 2023-01-13 17:36:41 +00:00
Dave Pearson
9a396ece29 Expand the docstring for DOMNode.query_one
See #1560. In short: query_one was changed a couple of months back so that
it searched for only a single instance of a hit for the query, rather
than (as before) returning the first item that matched the query.
Unfortunately the docstring didn't get the necessary update.

This should hopefully make things a wee bit clearer in the docs.
2023-01-13 17:33:23 +00:00
Dave Pearson
f7c671f710 Update DOMQuery.only_one to include NoMatches in raises list
See #1560
2023-01-13 17:25:32 +00:00
Will McGugan
c3129c8331 fix inheritance 2023-01-13 17:22:52 +00:00
Rodrigo Girão Serrão
7e428e2f4c fix tests: await all mounts. 2023-01-13 10:58:57 +00:00
Will McGugan
8f0f0d8c12 refactor 2023-01-13 10:44:13 +00:00