PDA

View Full Version : pygtk gtk.ComboBox autocompletion?



t.lauckner
May 3rd, 2009, 11:24 PM
Hi everyone,
I'm writing a gui in pygtk. It's not my first program, but my first gui apart from php. My goal concerning this question is to have a text-box with a drop-down-button aside so that the user can decide whether to enter the text he wants to select in the text-box (with autocompletion) or use the drop-down button (ideally, both at the same time).

I found documentation how to do this with a gtk.Combo (http://www.pygtk.org/pygtk2tutorial/sec-ComboWidget.html), but the PyGTK Reference manual (http://www.pygtk.org/docs/pygtk/class-gtkcombo.html) tells me to use gtk.ComboBox instead. But I could not find (http://www.google.de/search?q=pygtk+ComboBox+completion) documentation for autocompletion with a gtk.ComboBox. Any ideas where to look or what widget to use?

Thank you for your help.