[pygtk] gtk.Entry / gtk.Completion behavior -- can I change it?

Danny Milosavljevic danny.milo at gmx.net
Sat Mar 4 00:23:12 WST 2006


Hi,

Am Donnerstag, den 02.03.2006, 20:29 -0600 schrieb Chris Gonnerman:
> I have an application with a form, very vanilla, and some of the 
> gtk.Entry fields have attached gtk.Completions to make life easier for 
> my users (who happen to work for me).  When working the form entirely 
> from the keyboard, selecting an item requires arrowing down to it (after 
> the gtk.Completion list appears), then pressing Return.  My users are 
> accustomed to the Windows standard behavior, where pressing Tab after 
> highlighting the target item inserts it into the field, then passes 
> focus to the next field.
> 
> I've banged my head against Google for a few hours now, and can't figure 
> out any reasonable way to change this behavior.  Have I missed something?

I tried with gtk+ 2.8.9 and there I confirm that it works strangely
(assuming you mean gtk.EntryCompletion). 

Typing some prefix into the entry causes 
- the listbox to pop up
- the first item to be selected <- this one drives me nuts, can't it
stop getting in my way?

Then press down arrow and press tab, indeed, it takes the wrong one...

I'd file a bug with gtk...

cheers,
  Danny




More information about the pygtk mailing list