On Tue, Nov 02, 2004 at 07:13:41PM -0500, Thomas Mills Hinkle wrote:
> I've put together my own hack to allow a use to type a selection when
> the ComboBox is selected (e.g. if the focus is on ComboBox with apples,
> oranges, and pears, typing "o" selects oranges). However, I believe
> there is no way to make this work when the menu pops up -- from what
> I've seen, there's no way to control the behavior within the popup
> window at all.[1] 

It is possible, but you need to be an evil overlord of the seventh
circle to be able to get it to work. Hmm, let me see if I have a diary
entry on this topic.

    http://www.async.com.br/~kiko/diary.html?date=10.02.2004

This is for GtkCombo on 1.2, so the Kiwi changes likely won't work OOTB
for you, but it's an example of how hard it can get.

> Anyway, of course the right thing in my opinion would be for all
> ComboBox's everywhere in gtk/gnome to default to selection by typing[2],

Have you looked at the completion features that should be in 2.4?

    http://computing.ee.ethz.ch/sepp/gtk-2.4.13-mo/GtkEntryCompletion.html

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to