[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sheet replacement discussions
From: |
John Darrington |
Subject: |
Re: Sheet replacement discussions |
Date: |
Sat, 9 Jan 2016 17:08:13 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jan 08, 2016 at 08:25:37PM +0100, Friedrich Beckmann wrote:
> ??? In that case, perhaps we can use
> the GtkTreeModel.
>
> The only problem I see now, is that there needs to be a method to query
the number of
> columns. GtkTreeModel assumes that all rows have variable numbers of
columns whereas
> we will require it to be fixed.
I don???t think that is right. The call is gtk_tree_model_get_n_colums
(treemodel).
You are correct again (of course!)
I have produced a second version of my demo :
http://darrington.wattle.id.au/efficient-sheet-0.1.tar.gz
It uses a GtkTreeModel for its data and shows some bells and whistles too. And
it is still O(1)!!
I'm still not convinced by the headers-in-row-zero idea. But perhaps I'll come
round to it ...
Comments as always, are gratefully received.
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature