[Glade-users] searchable ComboBox
John Delaney
johndelaney at gmail.com
Fri Sep 24 09:14:33 EDT 2010
On Fri, Sep 24, 2010 at 2:04 PM, Arthur Shats <ashats at hotmail.com> wrote:
> I created a comboBox in Glade and fill in items for the box in Python. How
> do I make the list of items searchable? Meaning, if I start typing something
> in comboBox entry, it would jump to the item in the list if it finds a
> partial match.
Get the child entry widget of the ComboBoxEntry:
entry = comboboxentry.child
Then you can use EntryCompletion:
http://www.pygtk.org/docs/pygtk/class-gtkentrycompletion.html
More information about the Glade-users
mailing list