TomJGooding 8c8057b5b5 fix(listview): update index after items removed (#5135)
* fix(listview): update index after pop

* tests(listview): import future for type hints

* ensure pop error is original index rather than normalized

* fix(listview): update index after remove_items

* update changelog

* reinstate always_update to index reactive

* Revert "reinstate always_update to index reactive"

This reverts commit 68e205ee4f.

* handle unchanged index without always_update

* update changelog

* update changelog

* add docstrings

---------

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2024-11-28 16:00:52 +00:00
2023-08-26 10:57:44 +01:00
2024-11-27 16:48:04 +00:00
2024-11-28 14:40:17 +00:00
2022-10-22 21:30:12 +01:00
2022-10-22 08:36:52 +01:00
2023-05-25 17:22:21 +01:00
2024-09-12 15:29:16 +01:00
2022-02-04 23:36:37 +06:00
2022-11-17 15:51:38 +00:00
2021-04-08 16:24:48 +01:00
2024-11-06 14:29:50 +00:00
2024-07-18 09:50:36 +01:00
2024-11-23 20:02:22 +00:00
2023-03-27 18:37:21 +01:00
2024-11-28 14:40:17 +00:00
2024-11-24 20:28:26 +00:00
2024-11-27 15:59:31 +00:00

Discord Supported Python Versions PyPI version OS support

Textual

Build sophisticated, cross-platform, user interfaces with a simple Python API.

Run your apps in the terminal or a web browser with Textual Web or Textual Serve.

Videos

🎬 Demonstration

https://github.com/user-attachments/assets/71afec49-fe89-4e8d-a8cf-148fa2601362

🎬 Textual Serve

https://github.com/user-attachments/assets/97ab8825-0af6-42e9-b7e5-f554303a2112

Textual in Action

buttons

tree

datatables

inputs

Impatient?

Try the textual demo without installing.

Textual supports themes

Installing

Install Textual via pip:

pip install textual textual-dev

See the docs if you need help getting started.

Demo

Run the following command to see a little of what Textual can do:

python -m textual

Documentation

Head over to the Textual documentation to start building!

Join us on Discord

Join the Textual developers and community on our Discord Server.

Description
The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
Readme MIT 490 MiB
Languages
Python 98.8%
Scheme 0.8%
Jinja 0.3%
TypeScript 0.1%