Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | -rw-r--r--···0·root·········(0)·root·········(0)·····9078·2023-08-02·00:24:59.000000·.BUILDINFO | 1 | -rw-r--r--···0·root·········(0)·root·········(0)·····9078·2023-08-02·00:24:59.000000·.BUILDINFO |
2 | -rw-r--r--···0·root·········(0)·root·········(0)·····43 | 2 | -rw-r--r--···0·root·········(0)·root·········(0)·····4335·2023-08-02·00:24:59.000000·.MTREE |
3 | -rw-r--r--···0·root·········(0)·root·········(0)······445·2023-08-02·00:24:59.000000·.PKGINFO | 3 | -rw-r--r--···0·root·········(0)·root·········(0)······445·2023-08-02·00:24:59.000000·.PKGINFO |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/site-packages/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/site-packages/ |
8 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/site-packages/urwidtrees/ | 8 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/site-packages/urwidtrees/ |
9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-08-02·00:24:59.000000·usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/ |
Offset 59, 17 lines modified | Offset 59, 17 lines modified | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)·····4758·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/language_data.js | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·····4758·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/language_data.js |
60 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/minus.png | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/minus.png |
61 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/plus.png | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/plus.png |
62 | -rw-r--r--···0·root·········(0)·root·········(0)·····4846·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/pygments.css | 62 | -rw-r--r--···0·root·········(0)·root·········(0)·····4846·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/pygments.css |
63 | -rw-r--r--···0·root·········(0)·root·········(0)····18215·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/searchtools.js | 63 | -rw-r--r--···0·root·········(0)·root·········(0)····18215·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/searchtools.js |
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····2540·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/sidebar.js | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····2540·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/sidebar.js |
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····4712·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/sphinx_highlight.js | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····4712·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/_static/sphinx_highlight.js |
66 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 66 | -rw-r--r--···0·root·········(0)·root·········(0)····22025·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/containers.html |
67 | -rw-r--r--···0·root·········(0)·root·········(0)····35352·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/decoration.html | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····35352·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/decoration.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)····76510·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/examples.html | 68 | -rw-r--r--···0·root·········(0)·root·········(0)····76510·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/examples.html |
69 | -rw-r--r--···0·root·········(0)·root·········(0)····15388·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/genindex.html | 69 | -rw-r--r--···0·root·········(0)·root·········(0)····15388·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/genindex.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 70 | -rw-r--r--···0·root·········(0)·root·········(0)·····7071·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/index.html |
71 | -rw-r--r--···0·root·········(0)·root·········(0)······739·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/objects.inv | 71 | -rw-r--r--···0·root·········(0)·root·········(0)······739·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/objects.inv |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····4306·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/py-modindex.html | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····4306·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/py-modindex.html |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····3388·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/search.html | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····3388·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/search.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)····19701·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/searchindex.js | 74 | -rw-r--r--···0·root·········(0)·root·········(0)····19701·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/searchindex.js |
75 | -rw-r--r--···0·root·········(0)·root·········(0)····30235·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/structure.html | 75 | -rw-r--r--···0·root·········(0)·root·········(0)····30235·2023-08-02·00:24:59.000000·usr/share/doc/python-urwidtrees/structure.html |
Offset 1, 11 lines modified | Offset 1, 11 lines modified | ||
1 | #mtree | 1 | #mtree |
2 | /set·type=file·uid=0·gid=0·mode=644 | 2 | /set·type=file·uid=0·gid=0·mode=644 |
3 | ./.BUILDINFO·time=1690935899.0·size=9078·md5digest=f7b31336144785897e547153930a55f1·sha256digest=3dcb258479298e0437cb811658ac4286cf603366b60fe7f3c92da7f5218470a9 | 3 | ./.BUILDINFO·time=1690935899.0·size=9078·md5digest=f7b31336144785897e547153930a55f1·sha256digest=3dcb258479298e0437cb811658ac4286cf603366b60fe7f3c92da7f5218470a9 |
4 | ./.PKGINFO·time=1690935899.0·size=445·md5digest= | 4 | ./.PKGINFO·time=1690935899.0·size=445·md5digest=52ba7e48253383dbba6b2abcee86767d·sha256digest=4ad32233c4636565a5ad40b149ef7da3faf5eaf7aecd05fd7173004b3f9c1e6e |
5 | /set·mode=755 | 5 | /set·mode=755 |
6 | ./usr·time=1690935899.0·type=dir | 6 | ./usr·time=1690935899.0·type=dir |
7 | ./usr/lib·time=1690935899.0·type=dir | 7 | ./usr/lib·time=1690935899.0·type=dir |
8 | ./usr/lib/python3.11·time=1690935899.0·type=dir | 8 | ./usr/lib/python3.11·time=1690935899.0·type=dir |
9 | ./usr/lib/python3.11/site-packages·time=1690935899.0·type=dir | 9 | ./usr/lib/python3.11/site-packages·time=1690935899.0·type=dir |
10 | /set·mode=644 | 10 | /set·mode=644 |
11 | ./usr/lib/python3.11/site-packages/urwidtrees·time=1690935899.0·mode=755·type=dir | 11 | ./usr/lib/python3.11/site-packages/urwidtrees·time=1690935899.0·mode=755·type=dir |
Offset 36, 19 lines modified | Offset 36, 19 lines modified | ||
36 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/SOURCES.txt·time=1690935899.0·size=354·md5digest=973edd5ad32b7956789588df0239c019·sha256digest=f855d7367c2afaca0de9a973c0519390e3c8bc12056dc7c839620a1ea4ef74d0 | 36 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/SOURCES.txt·time=1690935899.0·size=354·md5digest=973edd5ad32b7956789588df0239c019·sha256digest=f855d7367c2afaca0de9a973c0519390e3c8bc12056dc7c839620a1ea4ef74d0 |
37 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/dependency_links.txt·time=1690935899.0·size=1·md5digest=68b329da9893e34099c7d8ad5cb9c940·sha256digest=01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b | 37 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/dependency_links.txt·time=1690935899.0·size=1·md5digest=68b329da9893e34099c7d8ad5cb9c940·sha256digest=01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b |
38 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/requires.txt·time=1690935899.0·size=57·md5digest=538cd1f4ed321f8916e787c724044fea·sha256digest=fb70ac99996e5259260ed9d3e29dac2f1e10af50646ab372a0f7263e2f334328 | 38 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/requires.txt·time=1690935899.0·size=57·md5digest=538cd1f4ed321f8916e787c724044fea·sha256digest=fb70ac99996e5259260ed9d3e29dac2f1e10af50646ab372a0f7263e2f334328 |
39 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/top_level.txt·time=1690935899.0·size=11·md5digest=40d9d0e5f1e3fdf795c51425296e9081·sha256digest=4a62b0cf04874a0a3f8802e5ab5f918d00482c37be093fc026b36400d7ca2112 | 39 | ./usr/lib/python3.11/site-packages/urwidtrees-1.0.3-py3.11.egg-info/top_level.txt·time=1690935899.0·size=11·md5digest=40d9d0e5f1e3fdf795c51425296e9081·sha256digest=4a62b0cf04874a0a3f8802e5ab5f918d00482c37be093fc026b36400d7ca2112 |
40 | ./usr/share·time=1690935899.0·mode=755·type=dir | 40 | ./usr/share·time=1690935899.0·mode=755·type=dir |
41 | ./usr/share/doc·time=1690935899.0·mode=755·type=dir | 41 | ./usr/share/doc·time=1690935899.0·mode=755·type=dir |
42 | ./usr/share/doc/python-urwidtrees·time=1690935899.0·mode=755·type=dir | 42 | ./usr/share/doc/python-urwidtrees·time=1690935899.0·mode=755·type=dir |
43 | ./usr/share/doc/python-urwidtrees/containers.html·time=1690935899.0·size=2 | 43 | ./usr/share/doc/python-urwidtrees/containers.html·time=1690935899.0·size=22025·md5digest=bf9c70cee437612c831ad11af5689d2c·sha256digest=d52cda8d1866cc997f63c45d2bd2853bca8e743b1cd0e26aff14f15bbc5c5027 |
44 | ./usr/share/doc/python-urwidtrees/decoration.html·time=1690935899.0·size=35352·md5digest=ffe316b5fa48ae8e3ca00ace4fcdce4a·sha256digest=6713aac3c8b2d83452f99863c1486b1fdb38c7172dde64892fde4dd84eca8251 | 44 | ./usr/share/doc/python-urwidtrees/decoration.html·time=1690935899.0·size=35352·md5digest=ffe316b5fa48ae8e3ca00ace4fcdce4a·sha256digest=6713aac3c8b2d83452f99863c1486b1fdb38c7172dde64892fde4dd84eca8251 |
45 | ./usr/share/doc/python-urwidtrees/examples.html·time=1690935899.0·size=76510·md5digest=91a29d649de3952a88dfa90a95260da6·sha256digest=8dc1a5e11094d40308f06476ea9ebf1e5c66ffc08d06424729d87078870ea12c | 45 | ./usr/share/doc/python-urwidtrees/examples.html·time=1690935899.0·size=76510·md5digest=91a29d649de3952a88dfa90a95260da6·sha256digest=8dc1a5e11094d40308f06476ea9ebf1e5c66ffc08d06424729d87078870ea12c |
46 | ./usr/share/doc/python-urwidtrees/genindex.html·time=1690935899.0·size=15388·md5digest=8191e6c6c3a13a35ed50de03de2f34b4·sha256digest=626b1f81025a92f6b4c650ac5dbfba64ac1fbe13431a5be76bd7e11261e54f04 | 46 | ./usr/share/doc/python-urwidtrees/genindex.html·time=1690935899.0·size=15388·md5digest=8191e6c6c3a13a35ed50de03de2f34b4·sha256digest=626b1f81025a92f6b4c650ac5dbfba64ac1fbe13431a5be76bd7e11261e54f04 |
47 | ./usr/share/doc/python-urwidtrees/index.html·time=1690935899.0·size= | 47 | ./usr/share/doc/python-urwidtrees/index.html·time=1690935899.0·size=7071·md5digest=65705ca1825dd01bba11439eaccf2dff·sha256digest=8403c46727efc97ed7769f831719598b6e8b2da8028cd06bd0a9291bcadabb74 |
48 | ./usr/share/doc/python-urwidtrees/objects.inv·time=1690935899.0·size=739·md5digest=0c39a7c06fe4a8c4434c813b035bd5a5·sha256digest=54a4d546dfe26b49e4bc9e70e0f59f39b341edaeb82d466b019ebb9c96c86c88 | 48 | ./usr/share/doc/python-urwidtrees/objects.inv·time=1690935899.0·size=739·md5digest=0c39a7c06fe4a8c4434c813b035bd5a5·sha256digest=54a4d546dfe26b49e4bc9e70e0f59f39b341edaeb82d466b019ebb9c96c86c88 |
49 | ./usr/share/doc/python-urwidtrees/py-modindex.html·time=1690935899.0·size=4306·md5digest=7fca4abda3f89feb4034f157eca55187·sha256digest=221c494aeab117043f35dbf3d1ba05eb03351be92d5c809599cefaf7f852b5b7 | 49 | ./usr/share/doc/python-urwidtrees/py-modindex.html·time=1690935899.0·size=4306·md5digest=7fca4abda3f89feb4034f157eca55187·sha256digest=221c494aeab117043f35dbf3d1ba05eb03351be92d5c809599cefaf7f852b5b7 |
50 | ./usr/share/doc/python-urwidtrees/search.html·time=1690935899.0·size=3388·md5digest=3aa67395f32f883b856aaedf212150c1·sha256digest=9e0a88a81191fb97cff84d15656eae90d39e68b659d1f343ffc261d84c085277 | 50 | ./usr/share/doc/python-urwidtrees/search.html·time=1690935899.0·size=3388·md5digest=3aa67395f32f883b856aaedf212150c1·sha256digest=9e0a88a81191fb97cff84d15656eae90d39e68b659d1f343ffc261d84c085277 |
51 | ./usr/share/doc/python-urwidtrees/searchindex.js·time=1690935899.0·size=19701·md5digest=26dc7efec7fcc2bab813b77504a0cb40·sha256digest=4e6e4a96a99bf28b5ebf953dda5b02e83b96522aa001c29c9328a798a454219c | 51 | ./usr/share/doc/python-urwidtrees/searchindex.js·time=1690935899.0·size=19701·md5digest=26dc7efec7fcc2bab813b77504a0cb40·sha256digest=4e6e4a96a99bf28b5ebf953dda5b02e83b96522aa001c29c9328a798a454219c |
52 | ./usr/share/doc/python-urwidtrees/structure.html·time=1690935899.0·size=30235·md5digest=143dd9611d7b2fd47496843c3a69c5d4·sha256digest=70ba0d5d0d69f7e0a5a497d574ebf4d4a243a5f54bb7b8f7d5874e3a7c904c3e | 52 | ./usr/share/doc/python-urwidtrees/structure.html·time=1690935899.0·size=30235·md5digest=143dd9611d7b2fd47496843c3a69c5d4·sha256digest=70ba0d5d0d69f7e0a5a497d574ebf4d4a243a5f54bb7b8f7d5874e3a7c904c3e |
53 | ./usr/share/doc/python-urwidtrees/_modules·time=1690935899.0·mode=755·type=dir | 53 | ./usr/share/doc/python-urwidtrees/_modules·time=1690935899.0·mode=755·type=dir |
54 | ./usr/share/doc/python-urwidtrees/_modules/index.html·time=1690935899.0·size=3402·md5digest=e898c2773c8af0b409516057dea66976·sha256digest=116a6cd098d5a7e593e05361fad06476e57649a3d8682d9a24cd4f7ad4b621a4 | 54 | ./usr/share/doc/python-urwidtrees/_modules/index.html·time=1690935899.0·size=3402·md5digest=e898c2773c8af0b409516057dea66976·sha256digest=116a6cd098d5a7e593e05361fad06476e57649a3d8682d9a24cd4f7ad4b621a4 |
Offset 3, 14 lines modified | Offset 3, 14 lines modified | ||
3 | pkgname·=·python-urwidtrees | 3 | pkgname·=·python-urwidtrees |
4 | pkgbase·=·python-urwidtrees | 4 | pkgbase·=·python-urwidtrees |
5 | pkgver·=·1.0.3-9 | 5 | pkgver·=·1.0.3-9 |
6 | pkgdesc·=·Tree·widgets·for·urwid. | 6 | pkgdesc·=·Tree·widgets·for·urwid. |
7 | url·=·https://github.com/pazz/urwidtrees | 7 | url·=·https://github.com/pazz/urwidtrees |
8 | builddate·=·1690935899 | 8 | builddate·=·1690935899 |
9 | packager·=·Reproducible·Arch·Linux·tests·<reproducible@archlinux.org> | 9 | packager·=·Reproducible·Arch·Linux·tests·<reproducible@archlinux.org> |
10 | size·=·657 | 10 | size·=·657989 |
11 | arch·=·any | 11 | arch·=·any |
12 | license·=·GPL3 | 12 | license·=·GPL3 |
13 | depend·=·python | 13 | depend·=·python |
14 | depend·=·python-urwid>=1.1.0 | 14 | depend·=·python-urwid>=1.1.0 |
15 | makedepend·=·python-setuptools | 15 | makedepend·=·python-setuptools |
16 | makedepend·=·python-sphinx | 16 | makedepend·=·python-sphinx |
Offset 41, 21 lines modified | Offset 41, 21 lines modified | ||
41 | ····<div·class="document"> | 41 | ····<div·class="document"> |
42 | ······<div·class="documentwrapper"> | 42 | ······<div·class="documentwrapper"> |
43 | ········<div·class="bodywrapper"> | 43 | ········<div·class="bodywrapper"> |
44 | ··········<div·class="body"·role="main"> | 44 | ··········<div·class="body"·role="main"> |
45 | ············ | 45 | ············ |
46 | ··<section·id="module-urwidtrees.widgets"> | 46 | ··<section·id="module-urwidtrees.widgets"> |
47 | <span·id="containers"></span><h1>Containers<a·class="headerlink"·href="#module-urwidtrees.widgets"·title="Permalink·to·this·heading">¶</a></h1> | 47 | <span·id="containers"></span><h1>Containers<a·class="headerlink"·href="#module-urwidtrees.widgets"·title="Permalink·to·this·heading">¶</a></h1> |
48 | <p><a·class="reference·internal"·href="#urwidtrees.widgets.TreeBox"·title="urwidtrees.widgets.TreeBox"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeBox</span></code></a>·is·essentially·a·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListBox</span></code>·that·displays·a·given·<a·class="reference·internal"·href="structure.html#urwidtrees.tree.Tree"·title="urwidtrees.tree.Tree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code></a>. | 48 | <p><a·class="reference·internal"·href="#urwidtrees.widgets.TreeBox"·title="urwidtrees.widgets.TreeBox"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeBox</span></code></a>·is·essentially·a·<a·class="reference·external"·href="https://urwid.readthedocs.io/en/latest/reference/widget.html#urwid.ListBox"·title="(in·Urwid·v1.3)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListBox</span></code></a>·that·displays·a·given·<a·class="reference·internal"·href="structure.html#urwidtrees.tree.Tree"·title="urwidtrees.tree.Tree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code></a>. |
49 | Per·default·no·decoration·is·used·and·the·widgets·of·the·tree·are·simply·displayed·line·by·line·in | 49 | Per·default·no·decoration·is·used·and·the·widgets·of·the·tree·are·simply·displayed·line·by·line·in |
50 | depth·first·order.·<a·class="reference·internal"·href="#urwidtrees.widgets.TreeBox"·title="urwidtrees.widgets.TreeBox"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeBox</span></code></a>’s·constructor·accepts·a·<cite>focus</cite>·parameter·to·specify·the·initially | 50 | depth·first·order.·<a·class="reference·internal"·href="#urwidtrees.widgets.TreeBox"·title="urwidtrees.widgets.TreeBox"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeBox</span></code></a>’s·constructor·accepts·a·<cite>focus</cite>·parameter·to·specify·the·initially |
51 | focussed·position.·Internally,·it·uses·a·<a·class="reference·internal"·href="#urwidtrees.widgets.TreeListWalker"·title="urwidtrees.widgets.TreeListWalker"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeListWalker</span></code></a>·to·linearize·the·tree·to·a·list.</p> | 51 | focussed·position.·Internally,·it·uses·a·<a·class="reference·internal"·href="#urwidtrees.widgets.TreeListWalker"·title="urwidtrees.widgets.TreeListWalker"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeListWalker</span></code></a>·to·linearize·the·tree·to·a·list.</p> |
52 | <p><a·class="reference·internal"·href="#urwidtrees.widgets.TreeListWalker"·title="urwidtrees.widgets.TreeListWalker"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeListWalker</span></code></a>·serve·as·adapter·between·<a·class="reference·internal"·href="structure.html#urwidtrees.tree.Tree"·title="urwidtrees.tree.Tree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code></a>·and·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListWalker</span></code>·APIs: | 52 | <p><a·class="reference·internal"·href="#urwidtrees.widgets.TreeListWalker"·title="urwidtrees.widgets.TreeListWalker"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeListWalker</span></code></a>·serve·as·adapter·between·<a·class="reference·internal"·href="structure.html#urwidtrees.tree.Tree"·title="urwidtrees.tree.Tree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code></a>·and·<a·class="reference·external"·href="https://urwid.readthedocs.io/en/latest/reference/list_walkers.html#urwid.ListWalker"·title="(in·Urwid·v1.3)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListWalker</span></code></a>·APIs: |
53 | They·implement·the·ListWalker·API·using·the·data·from·a·given·<cite>Tree</cite>·in·depth-first·order. | 53 | They·implement·the·ListWalker·API·using·the·data·from·a·given·<cite>Tree</cite>·in·depth-first·order. |
54 | As·such,·one·can·directly·pass·on·a·<a·class="reference·internal"·href="#urwidtrees.widgets.TreeListWalker"·title="urwidtrees.widgets.TreeListWalker"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeListWalker</span></code></a>·to·an·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListBox</span></code>·if·one·doesn’t·want | 54 | As·such,·one·can·directly·pass·on·a·<a·class="reference·internal"·href="#urwidtrees.widgets.TreeListWalker"·title="urwidtrees.widgets.TreeListWalker"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeListWalker</span></code></a>·to·an·<a·class="reference·external"·href="https://urwid.readthedocs.io/en/latest/reference/widget.html#urwid.ListBox"·title="(in·Urwid·v1.3)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListBox</span></code></a>·if·one·doesn’t·want |
55 | to·use·tree-based·focus·movement·or·key·bindings·for·collapsing·subtrees.</p> | 55 | to·use·tree-based·focus·movement·or·key·bindings·for·collapsing·subtrees.</p> |
56 | <section·id="api"> | 56 | <section·id="api"> |
57 | <h2>API<a·class="headerlink"·href="#api"·title="Permalink·to·this·heading">¶</a></h2> | 57 | <h2>API<a·class="headerlink"·href="#api"·title="Permalink·to·this·heading">¶</a></h2> |
58 | <dl·class="py·class"> | 58 | <dl·class="py·class"> |
59 | <dt·class="sig·sig-object·py"·id="urwidtrees.widgets.TreeBox"> | 59 | <dt·class="sig·sig-object·py"·id="urwidtrees.widgets.TreeBox"> |
60 | <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-prename·descclassname"><span·class="pre">urwidtrees.widgets.</span></span><span·class="sig-name·descname"><span·class="pre">TreeBox</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="o"><span·class="pre">*</span></span><span·class="n"><span·class="pre">args</span></span></em>,·<em·class="sig-param"><span·class="o"><span·class="pre">**</span></span><span·class="n"><span·class="pre">kw</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/urwidtrees/widgets.html#TreeBox"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#urwidtrees.widgets.TreeBox"·title="Permalink·to·this·definition">¶</a></dt> | 60 | <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-prename·descclassname"><span·class="pre">urwidtrees.widgets.</span></span><span·class="sig-name·descname"><span·class="pre">TreeBox</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="o"><span·class="pre">*</span></span><span·class="n"><span·class="pre">args</span></span></em>,·<em·class="sig-param"><span·class="o"><span·class="pre">**</span></span><span·class="n"><span·class="pre">kw</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/urwidtrees/widgets.html#TreeBox"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#urwidtrees.widgets.TreeBox"·title="Permalink·to·this·definition">¶</a></dt> |
61 | <dd><p>A·widget·that·displays·a·given·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code>. | 61 | <dd><p>A·widget·that·displays·a·given·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code>. |
Offset 135, 16 lines modified | Offset 135, 16 lines modified | ||
135 | </dd></dl> | 135 | </dd></dl> |
136 | <dl·class="py·class"> | 136 | <dl·class="py·class"> |
137 | <dt·class="sig·sig-object·py"·id="urwidtrees.widgets.TreeListWalker"> | 137 | <dt·class="sig·sig-object·py"·id="urwidtrees.widgets.TreeListWalker"> |
138 | <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-prename·descclassname"><span·class="pre">urwidtrees.widgets.</span></span><span·class="sig-name·descname"><span·class="pre">TreeListWalker</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="o"><span·class="pre">*</span></span><span·class="n"><span·class="pre">args</span></span></em>,·<em·class="sig-param"><span·class="o"><span·class="pre">**</span></span><span·class="n"><span·class="pre">kw</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/urwidtrees/widgets.html#TreeListWalker"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#urwidtrees.widgets.TreeListWalker"·title="Permalink·to·this·definition">¶</a></dt> | 138 | <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-prename·descclassname"><span·class="pre">urwidtrees.widgets.</span></span><span·class="sig-name·descname"><span·class="pre">TreeListWalker</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="o"><span·class="pre">*</span></span><span·class="n"><span·class="pre">args</span></span></em>,·<em·class="sig-param"><span·class="o"><span·class="pre">**</span></span><span·class="n"><span·class="pre">kw</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/urwidtrees/widgets.html#TreeListWalker"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#urwidtrees.widgets.TreeListWalker"·title="Permalink·to·this·definition">¶</a></dt> |
139 | <dd><p>ListWalker·to·walk·through·a·class:<cite>Tree</cite>.</p> | 139 | <dd><p>ListWalker·to·walk·through·a·class:<cite>Tree</cite>.</p> |
140 | <p>This·translates·a·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code>·into·a·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListWalker</span></code>·that·is | ||
141 | 140 | <p>This·translates·a·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code>·into·a·<a·class="reference·external"·href="https://urwid.readthedocs.io/en/latest/reference/list_walkers.html#urwid.ListWalker"·title="(in[·...·truncated·by·diffoscope;·len:·134,·SHA:·8a25e4ea17df1bbe19b717a9b28e3e9302da1ad975578e2dd72d1e4aeceab436·...·] | |
141 | digestible·by·<a·class="reference·external"·href="https://urwid.readthedocs.io/en/latest/reference/widget.html#urwid.ListBox"·title="(in·Urwid·v1.3)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">urwid.ListBox</span></code></a>. | ||
142 | It·uses·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Tree.[next|prev]_position</span></code>·to·determine | 142 | It·uses·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Tree.[next|prev]_position</span></code>·to·determine |
143 | the·next/previous·position·in·depth·first·order.</p> | 143 | the·next/previous·position·in·depth·first·order.</p> |
144 | <dl·class="py·method"> | 144 | <dl·class="py·method"> |
145 | <dt·class="sig·sig-object·py"·id="urwidtrees.widgets.TreeListWalker.clear_cache"> | 145 | <dt·class="sig·sig-object·py"·id="urwidtrees.widgets.TreeListWalker.clear_cache"> |
146 | <span·class="sig-name·descname"><span·class="pre">clear_cache</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/urwidtrees/widgets.html#TreeListWalker.clear_cache"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#urwidtrees.widgets.TreeListWalker.clear_cache"·title="Permalink·to·this·definition">¶</a></dt> | 146 | <span·class="sig-name·descname"><span·class="pre">clear_cache</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/urwidtrees/widgets.html#TreeListWalker.clear_cache"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#urwidtrees.widgets.TreeListWalker.clear_cache"·title="Permalink·to·this·definition">¶</a></dt> |
147 | <dd><p>removes·all·cached·lines</p> | 147 | <dd><p>removes·all·cached·lines</p> |
148 | </dd></dl> | 148 | </dd></dl> |
Offset 53, 15 lines modified | Offset 53, 15 lines modified | ||
53 | <p>Generally,·tree·structures·are·defined·by·subclassing·<a·class="reference·internal"·href="structure.html#urwidtrees.tree.Tree"·title="urwidtrees.tree.Tree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code></a>·and | 53 | <p>Generally,·tree·structures·are·defined·by·subclassing·<a·class="reference·internal"·href="structure.html#urwidtrees.tree.Tree"·title="urwidtrees.tree.Tree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Tree</span></code></a>·and |
54 | overwriting·local·position·movements.·For·most·purposes·however,·using·a | 54 | overwriting·local·position·movements.·For·most·purposes·however,·using·a |
55 | <a·class="reference·internal"·href="structure.html#urwidtrees.tree.SimpleTree"·title="urwidtrees.tree.SimpleTree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">SimpleTree</span></code></a>·will·do. | 55 | <a·class="reference·internal"·href="structure.html#urwidtrees.tree.SimpleTree"·title="urwidtrees.tree.SimpleTree"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">SimpleTree</span></code></a>·will·do. |
56 | The·choice·to·define·trees·by·overwriting·local·position·movements·allows·to | 56 | The·choice·to·define·trees·by·overwriting·local·position·movements·allows·to |
57 | easily·define·potentially·infinite·tree·structures.·See·<cite>example4</cite>·for·how·to | 57 | easily·define·potentially·infinite·tree·structures.·See·<cite>example4</cite>·for·how·to |
58 | walk·local·file·systems.</p> | 58 | walk·local·file·systems.</p> |
59 | <p>Trees·of·widgets·are·rendered·by·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeBox</span></code>·widgets. | 59 | <p>Trees·of·widgets·are·rendered·by·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">TreeBox</span></code>·widgets. |
60 | These·are·based·on·urwids·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ListBox</span></code>·widget·and | 60 | These·are·based·on·urwids·<a·class="reference·external"·href="https://urwid.readthedocs.io/en/latest/reference/widget.html#urwid.ListBox"·title="(in·Urwid·v1.3)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ListBox</span></code></a>·widget·and |
61 | display·trees·such·that·siblings·grow·vertically·and·children·horizontally. | 61 | display·trees·such·that·siblings·grow·vertically·and·children·horizontally. |
62 | TreeBoxes·handle·key·presses·to·move·in·the·tree·and·collapse/expand·subtrees·if·possible.</p> | 62 | TreeBoxes·handle·key·presses·to·move·in·the·tree·and·collapse/expand·subtrees·if·possible.</p> |
63 | <div·class="toctree-wrapper·compound"> | 63 | <div·class="toctree-wrapper·compound"> |
64 | <ul> | 64 | <ul> |
65 | <li·class="toctree-l1"><a·class="reference·internal"·href="structure.html">Structure</a></li> | 65 | <li·class="toctree-l1"><a·class="reference·internal"·href="structure.html">Structure</a></li> |
66 | <li·class="toctree-l1"><a·class="reference·internal"·href="containers.html">Containers</a></li> | 66 | <li·class="toctree-l1"><a·class="reference·internal"·href="containers.html">Containers</a></li> |
67 | <li·class="toctree-l1"><a·class="reference·internal"·href="decoration.html">Decoration</a></li> | 67 | <li·class="toctree-l1"><a·class="reference·internal"·href="decoration.html">Decoration</a></li> |