summaryrefslogtreecommitdiff
path: root/docs/examples/index.rst
blob: c9299e951294bcec7a857205d41f52b17b58e762 (plain)
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
73
74
75
76
77
78
79
80
.. _urwid-tutorial:

********************
  Example Programs
********************

.. currentmodule:: urwid

These example programs may be found in the examples directory of your
Urwid distribution.

tour.py
-------

.. image:: tour1.png
.. image:: tour2.png

Show how many of the standard widgets may be arranged
on the screen


graph.py
--------

.. image:: graph2.png

Demonstrate BarGraph widget and alarms used for animation


edit.py
-------

.. image:: edit1.png
.. image:: edit2.png

A simple text editor with lazy loading


browse.py
---------

.. image:: browse2.png

A lazy directory browser with file selection, tree-view, custom widgets
and list walker


subproc.py
----------

.. image:: subproc1.png
.. image:: subproc2.png

Monitor and display results from a subprocess


palette_test.py
---------------

.. image:: palette_test2.png

Show available colors in various screen modes


pop_up.py
---------

.. image:: pop_up1.png
.. image:: pop_up2.png

Create a pop-up/drop-down/window anchored to another widget


bigtext.py
----------

.. image:: bigtext2.png
.. image:: bigtext3.png

demonstrate the BigText widget