Discussion:
[Urwid] Refresh Tree Data
Thomas S Hatch
2013-12-01 17:11:07 UTC
Permalink
First off, thanks for Urwid, it is fantastic! I am writing a console for
Salt in urwid right now and have hit a road block on updating a tree. I can
update the tree widget's information inside of an alarm in the main loop
without issue and when I look up the nodes they appear to be there, but
they do not show up on the display.
If there is any additional documentation on this please let me know, I have
been reading up on the existing docs but I have been having a hard time
finding extra info on this subject.
The code is located here:
https://github.com/thatch45/salt-console
The module is question is here:
https://github.com/thatch45/salt-console/blob/master/sconsole/jidtree.py

Any suggestions or a bump in the right direction would be appreciated,
Thanks!

Thomas S. Hatch | Founder, CTO


5272 South College Drive, Suite 301 | Murray, UT 84123
thatch at saltstack.com | www.saltstack.com <http://saltstack.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.excess.org/pipermail/urwid/attachments/20131201/004caf9b/attachment.htm
Ian Ward
2013-12-16 20:00:33 UTC
Permalink
Post by Thomas S Hatch
First off, thanks for Urwid, it is fantastic! I am writing a console for
Salt in urwid right now and have hit a road block on updating a tree. I can
update the tree widget's information inside of an alarm in the main loop
without issue and when I look up the nodes they appear to be there, but
they do not show up on the display.
Hi Thomas, sorry for the slow reply.

There are some better tree widgets for urwid at
https://github.com/pazz/urwidtrees

The ones currently in Urwid are a little too hard to use and poorly
documented. I would like to replace them with something like the ones there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.excess.org/pipermail/urwid/attachments/20131216/0ca92230/attachment.htm
Thomas S Hatch
2013-12-19 16:11:25 UTC
Permalink
Thanks Ian! I found them and have the basics of the Salt Console working
with my lightly modified trees from Pazz. I will let you guys know when I
cut a release of the console to you can add it to your pile of urwid
applications in the wild!

Thomas S. Hatch | Founder, CTO


5272 South College Drive, Suite 301 | Murray, UT 84123
thatch at saltstack.com | www.saltstack.com <http://saltstack.com/>
Post by Ian Ward
Post by Thomas S Hatch
First off, thanks for Urwid, it is fantastic! I am writing a console for
Salt in urwid right now and have hit a road block on updating a tree. I can
update the tree widget's information inside of an alarm in the main loop
without issue and when I look up the nodes they appear to be there, but
they do not show up on the display.
Hi Thomas, sorry for the slow reply.
There are some better tree widgets for urwid at
https://github.com/pazz/urwidtrees
The ones currently in Urwid are a little too hard to use and poorly
documented. I would like to replace them with something like the ones there.
_______________________________________________
Urwid mailing list
Urwid at lists.excess.org
http://lists.excess.org/mailman/listinfo/urwid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.excess.org/pipermail/urwid/attachments/20131219/db1bb366/attachment.htm
Continue reading on narkive:
Loading...