Re: GtkGrid design document
- From: Murray Cumming <murrayc murrayc com>
- To: Lorenzo Gil Sanchez <lgs sicem biz>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: GtkGrid design document
- Date: Thu, 15 Apr 2004 17:44:07 +0200
On Thu, 2004-04-15 at 11:28, Lorenzo Gil Sanchez wrote:
> * Differences with GtkTreeView
> - GtkGrid is designed for *fast* editing of the model. This means you
> don't have to go to a cell, activate it to enter the edit mode, edit
> the cell, press enter again to commit your changes and repeat all
> these keystrokes in the next cell. This behavior is fine if you just
> need to edit a few cells in your TreeView but if you want to edit
> almost every cell this is a pain.
> - GtkGrid looks like a table (e.g. it paints horizontal and vertical
> lines to separate cells).
Why can't these just be enhancements to GtkTreeView? It doesn't seem
sensible that I should use a whole other widget just because I want
focus to jump to the next cell quickly, or if I want lines between the
> - You can not pack more than one CellRenderer in a GridColumn. I'm not
> sure about this design decision but to me it doesn't make sense to
> have more than one renderer by cell since the purpose of the grid is
> to edit data.
I don't know why we would create another widget just to have a widget
that can do less. This point does'nt seem useful.
murrayc murrayc com
] [Thread Prev