forwarding to the mailing list

On Thu, Dec 13, 2012 at 3:10 PM, Ian Ward <[email protected]> wrote:
> On Tue, Dec 4, 2012 at 5:35 AM, Bernhard Grotz <[email protected]> wrote:
>>
>> 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) class
> 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

_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to