Re: GtkGrid design document

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.

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]