[pygtk] which widget
leon at tim-online.nl
Thu Dec 2 15:16:06 WST 2010
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: admin at exolucere.ca [admin at exolucere.ca] on behalf of Robert Park [rbpark at exolucere.ca]
Sent: Thursday, December 02, 2010 07:22
To: Leon Bogaert
Cc: pygtk at daa.com.au
Subject: Re: [pygtk] which widget
On Wed, Dec 1, 2010 at 3:59 PM, Leon Bogaert <leon at tim-online.nl> 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.
More information about the pygtk