Yeah, but how should I for it to always be on the entries in the ListStore? 
Because now one can type anything in the combobxEntry. A user could type 
something, ignore the suggestions and move the focus to another widget. How 
should I deal with this situations? For example, an on_update handler which 
checks if the entry in the comboBoxEntry exists in the liststore. If it doesn't 
exist: remove the entry. But that doesn't seem really user friendly.
________________________________________
From: [email protected] [[email protected]] on behalf of Robert Park 
[[email protected]]
Sent: Thursday, December 02, 2010 07:22
To: Leon Bogaert
Cc: [email protected]
Subject: Re: [pygtk] which widget

On Wed, Dec 1, 2010 at 3:59 PM, Leon Bogaert <[email protected]> wrote:
> So my questions now becomes: how can I (combobox)entry with suggestions and 
> force it to be one of the entries in the ListStore?

Well, you'd have to attach a signal handler to your comboboxentry, and
in the handler you'd define all your fuzzy matching logic.

--
http://exolucere.ca
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to