Re: [Fwd: [Bug 53580] Changed - KEYNAV: GtkTreeView]



Bill Haneman wrote:

> A couple of comments:  I notice that in your keynav document it suggests
> that Gtk doesn't support table - not true, one uses GtkTreeView to
> implement a table (as well as a list, which your query above implies).

I suppose it does... I was thinking (for no good reason) more along the
lines of a richer spreadsheet-type table, which it didn't occur to me
would be implemented using GtkTreeView... or would it?  Anybody know
what flavour of table control Gnumeric will be using in its 2.0 port?

You're right, though, a table in the broader sense could just be
implemented as a GtkTreeView, although I'd tend to think of that more as
a multi-column list than as a table!  I suppose the distinction is made
by what units are selectable: can you select individual "cells" in a
GtkTreeview, or can you only whole rows at a time?  If you can select
individual cells, then yes, I guess it really is a table and not a list.

> You also suggest that Java doesn't have a List equivalent - this is a
> special case of JTable I think.

Hmm... I think I said it didn't have a ListView equivalent, not a List
equivalent (for which there exists JList, as far as I know).  The
ListView being that control in Nautilus (and on Windows) where you can
choose to view the contents as a either a list or as icons.  Are you
saying a JTable can do this too, or is my document just getting too
confusing?  :)

> As for a keybinding for reordering columns (or rows):  how about
> Ctrl-arrowkey ?  Is that reserved already ?

It's not reserved in that context, but it would mean you'd have to be
able to give keyboard focus to a column header, which isn't something
that's mentioned in the document at all at the moment :)  But it sounds
like something that ought to be made possible anyway, for sorting as
well as re-ordering.  (Perhaps Ctrl+Up/Down could be used for sorting if
Ctrl+Left/Right were used for re-ordering...?)

If you can select individual cells in a table, I suppose the
Ctrl+left/right shortcut (or whatever we choose) could theoretically
also be active when a single cell was selected, to move that cell's
column left or right-- does this sound like a good idea, or should it
only work on column headers?

Cheeri,
Calum.

-- 
CALUM BENSON, Usability Engineer       Sun Microsystems Ireland
mailto:calum benson ireland sun com    Desktop Engineering Group
http://www.sun.ie                      +353 1 819 9771

Any opinions are personal and not necessarily those of Sun Microsystems




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