File: README.md

package info (click to toggle)
python-panwid 0.3.5-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 408 kB
  • sloc: python: 4,904; makefile: 3
file content (72 lines) | stat: -rw-r--r-- 2,040 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
panwid
======

A collection of widgets for [Urwid](https://urwid.org/).

Currently consists of the following sub-modules:

## autocomplete ##

Adds autocomplete functionality to a container widget.  See `Dropdown`
implementation for how it works until there's proper documentation.

## datatable ##

Widget for displaying tabular data.

Features include:
* Flexible options for column formatting and sorting
* Progressive loading / "infinite scrolling" for paginating large datasets
* Scrollbar with indicator showing position within dataset

[![asciicast](https://asciinema.org/a/iRbvnuv7DERhZrdKKBfpGtXqw.png)](https://asciinema.org/a/iRbvnuv7DERhZrdKKBfpGtXqw?autoplay=1)

## dialog ##

A set of simple classes for implementing pop-up dialogs.

## dropdown ##

Dropdown menu widget with autocomplete support.

[![asciicast](https://asciinema.org/a/m23L8xPJsTQRxzOCwvc1SuduN.png)](https://asciinema.org/a/m23L8xPJsTQRxzOCwvc1SuduN?autoplay=1)

## highlightable ##

Adds the ability for text widgets (or any widget with text in them) to have
strings highlighted in them.  See `Dropdown` implementation until there's proper
documentation.

## keymap ##

Adds ability to define keyboard mappings across multiple widgets in your
application without having to write Urwid `keypress`` methods. See `Dropdown`
implementation until there's proper documentation.

## progressbar ##

A configurable horizontal progress bar that uses unicode box drawing characters
for sub-character-width resolution.

## scroll ##

Makes any fixed or flow widget vertically scrollable.  Copied with permission
from `rndusr/stig`.

## sparkwidgets ##

A set of sparkline-ish widgets for displaying data visually using a small number
of screen characters.

## tabview ##

A container widget that allows selection of content via tab handles.

**TODOs**:

* Documentation
* Make more 16-color and non-unicode friendly
* Add combo box functionality to dropdown
* Update datatable so that footer functions calculate based on the entire
  dataset, not just visible rows.