Ian Ward
2012-12-13 20:11:40 UTC
forwarding to the mailing list
I know you sent this 9 days ago... I'm just beginning to crawl out
from under a mammoth pile of work.
that would have been possible to nest inside a ListBox to allow
creation of a speadsheet-type example.
Making HListBox like ListBox would allow for unlimited horizontal
scrolling the way ListBox allows for unlimited vertical scrolling. I
like this idea because it's an interesting challenge for me, but I'm
willing to admit that most users would be happy with a limited number
of columns in their spreadsheet. If you're one of those users, you
can now make that work by having a ListBox containing a Columns
subclass that hides columns on the left that have been scrolled out of
view.
If that's what you're looking for I should be able to put together a
quick example.
Ian
Hi Ian,
Hello Bernhard!I know you sent this 9 days ago... I'm just beginning to crawl out
from under a mammoth pile of work.
I'm very interested in using urwid for a simple excel-like spreadsheet
calculator. Such a project named "sc" already exists but seems not to be
maintained any more.
http://manpages.ubuntu.com/manpages/hardy/man1/sc.1.html
http://www.linuxjournal.com/article/10699
http://www.economics.utoronto.ca/jfloyd/stats/minmansc.pdf
Urwid seems to be a perfect library for rewriting (and expanding) the program
above.
What would be an appropiate base widget to model such a tool within? Would it be
a good idea to extend the GridFlow-Container in a way it can with a nested cell
list (like cells[1][1] and so on)?
Some time ago I was working on a HListBox (horizontal list box) classcalculator. Such a project named "sc" already exists but seems not to be
maintained any more.
http://manpages.ubuntu.com/manpages/hardy/man1/sc.1.html
http://www.linuxjournal.com/article/10699
http://www.economics.utoronto.ca/jfloyd/stats/minmansc.pdf
Urwid seems to be a perfect library for rewriting (and expanding) the program
above.
What would be an appropiate base widget to model such a tool within? Would it be
a good idea to extend the GridFlow-Container in a way it can with a nested cell
list (like cells[1][1] and so on)?
that would have been possible to nest inside a ListBox to allow
creation of a speadsheet-type example.
Making HListBox like ListBox would allow for unlimited horizontal
scrolling the way ListBox allows for unlimited vertical scrolling. I
like this idea because it's an interesting challenge for me, but I'm
willing to admit that most users would be happy with a limited number
of columns in their spreadsheet. If you're one of those users, you
can now make that work by having a ListBox containing a Columns
subclass that hides columns on the left that have been scrolled out of
view.
If that's what you're looking for I should be able to put together a
quick example.
Ian