[Glade-users] searchable ComboBox
- From: johndelaney at gmail.com (John Delaney)
- Subject: [Glade-users] searchable ComboBox
- Date: Fri, 24 Sep 2010 14:14:33 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]