File: README.md

package info (click to toggle)
python-urwidtrees 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: python: 961; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Urwid Tree Container API
========================
[![Docs Build][rtfd-img]][rtfd]

This is a Widget Container API for the [urwid](http://urwid.org/) toolkit.
It uses a MVC approach and allows to build trees of widgets.
Its design goals are

* clear separation classes that define, decorate and display trees of widgets
* representation of trees by local operations on node positions
* easy to use default implementation for simple trees
* Collapses are considered decoration

See the `docs/` subdirectory for autogenetated API docs.

### Examples

[<img src="docs/examples/example1.png" width="45%">](docs/examples/example1.py)
[<img src="docs/examples/example2.png" width="45%">](docs/examples/example2.arrows.py)
[<img src="docs/examples/example3.png" width="45%">](docs/examples/example3.collapse.py)
[<img src="docs/examples/example5.png" width="45%">](docs/examples/example5.nested.py)

[rtfd-img]: https://readthedocs.org/projects/urwidtrees/badge/
[rtfd]: https://urwidtrees.readthedocs.org/en/latest/