[Urwid] TreeNode vs ParentNode

Aleksandr Miroslav alexmiroslav at gmail.com
Sat Jul 28 21:46:28 EDT 2012


On Sat, Jul 21, 2012 at 2:44 PM, Ian Ward <ian at excess.org> wrote:
> > This way, if I wanted to add something to a leaf node, I can just simply
> > add a child node to it, since it is already a ParentNode.
>
> These "Node" classes were contributed earlier by someone that factored
> them out of the browse.py example program.

Ah ok, I understand. Node and TreeNode are relics of files and
directories from browse.py -- everything makes sense now.

> I would accept a patch to make them the same "TreeNode" class as long
> as the examples that use them don't break.

My python-fu is weak, but I will continue to code against the library
and will contribute where I can.

thanks,
Alex



More information about the Urwid mailing list