On Tue, Dec 15, 2009 at 03:28:23PM -0200, Tomeu Vizoso wrote: > On Sun, Dec 6, 2009 at 14:53, Aleksey Lim <alsr...@member.fsf.org> wrote: > > On Sun, Dec 06, 2009 at 02:37:07PM +0100, Simon Schampijer wrote: > >> On 11/28/2009 05:00 AM, Aleksey Lim wrote: > >> > Hi all, > >> > >> Hi Aleksey, > >> > >> thanks for proposing this feature! > >> > >> > http://wiki.sugarlabs.org/go/Features/TableView_Widget > >> > > >> > GTK widget to replace gtk.TreeView in Journal. > >> > > >> > Benefit to Sugar > >> > > >> > Standard gtk components are not designed to be lazy. Third party > >> > widgets, I managed to find, uses scheme with renders(like gtk > >> > components), introduced component uses widgets instead(could have > >> > performance penalties, I guess, in common case but we don't have many > >> > rows in Journal view, so should be ok for us). > >> > >> Can you elaborate on this? Instead of using the cell renderers to draw > >> the data in the tree model we would pack widgets? > > > > we should just implement Cell class(regular wigdet) and it will be used > > for all(visible) cells, see example > > http://wiki.sugarlabs.org/go/Features/TableView_Widget#Simple_example_for_SmootTable_widget > > The API looks very good to me, just one thing: what means 3, 3 here? > > table = SmoothTable(Cell, 3, 3)
visible_row_count and visible_column_count -- Aleksey _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel