Commit Graph

10 Commits

Author SHA1 Message Date
Rodrigo Girão Serrão
6d480056e5 Add a test for binding merging. 2022-12-13 16:15:28 +00:00
darrenburns
df37a9b90a Add get_child_by_id and get_widget_by_id (#1146)
* Add get_child_by_id and get_widget_by_id

* Remove redundant code

* Add unit tests for app-level get_child_by_id and get_widget_by_id

* Remove redundant test fixture injection

* Update CHANGELOG

* Enforce uniqueness of ID amongst widget children

* Enforce unique widget IDs amongst widgets mounted together

* Update CHANGELOG.md

* Ensuring unique IDs in a more logical place

* Add docstring to NodeList._get_by_id

* Dont use duplicate IDs in tests, dont mount 2000 widgets

* Mounting less widgets in a unit test

* Reword error message

* Use lower-level depth first search in get_widget_by_id to break out early
2022-11-16 15:29:59 +00:00
Will McGugan
7eb5119fe0 real breadth first, and tests 2022-10-13 20:51:03 +01:00
Will McGugan
5a8e492294 depth first search 2022-10-13 16:43:59 +01:00
Will McGugan
9c7a48fc13 words 2022-10-09 16:11:16 +01:00
Will McGugan
54e05fa8aa validate identifiers 2022-09-02 11:01:30 +01:00
Will McGugan
b22436933a lots of docstrings 2022-08-25 09:08:35 +01:00
Darren Burns
2b304cc9f7 Get child by ID 2022-02-22 11:35:01 +00:00
Darren Burns
154ada427f Query dom - get child 2022-02-22 11:19:00 +00:00
Darren Burns
3188043aa6 Rename visible property to display, add setter 2022-01-18 13:51:15 +00:00