Re: [PATCH] replace icon list by tree view (was: UI Question/Suggestion)

On 05/19/2003, wrote:
[ snip ]
> Hmmm, how should the tree view react on kb events? Moving with the 
> arrow keys always emits changed.

That's right. If you want to act as soon as the user clicks on a row, 
but not if the user changes the selection with the cursor keys, you 
need to distinguish between key-press and button-press events in the 
selection's "changed" handler.

Imho, it's simpler just not to respond to "changed", and instead wait 
for "row-activated".

> I get row-activated when double-clicking a row, but not from the kb.

Try space-bar.

> And is there a kb sequence which should pop up the context menu?

Yes, shift-F10 is the standard--but on the whole, I believe it's better 
to watch for the "popup-menu" signal instead of going at the keystroke 

> > As to replacements: gnome_icon_list is described as obsolete, but
> > afaict isn't actually deprecated.  I've seen nothing about a
> > replacement.
> I think the confusion coming from the notebook is actually removed by 
> hiding the tabs if there is only one part. However, the icon list is 
> still used for the sendmsg-window (attachments). I read a message 
> (found using google, but can't remember where) that someone works on  
> a replacement for GnomeIconList, so for now...

Yes, we'll have to do something about that one, too, if and when 
GnomeIconList is officially deprecated--perhaps the replacement will be 
available by then!

> Cheers, Albrecht.

Best, Peter

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