[pygtk] gtk.ComboBox: how to handle the popup window?
Danny Milosavljevic
danny.milo at gmx.net
Sun Mar 26 02:31:38 WST 2006
Hi,
Am Samstag, den 25.03.2006, 17:22 +0100 schrieb Alan Franzoni:
> Hello, I've run into a pygtk problem I'm not able to solve.
>
> I have a ComboBox, its model it's a ListStore, all right. Whenever I click
> on the small arrow, or i press enter if the combobox is selected, though, a
> kind of popup menu showing possibile values raises. But this menu seems to
> be controlled by mouse only (I can't go up and down by keys) and there
Lack of keyboard control would be a major gtk bug and I'd file it as
such...
which gtk version?
> seems no way to know when it's active or when it goes away ( no
> "popup_shown" nor "popup_gone" signals).
Thanks to Tommi Komulainen and Matthias Clasen, there is, soon :)
http://bugzilla.gnome.org/show_bug.cgi?id=162531
>
> I've tried to inherit from gtk.ComboBox and to override popup() and
> popdown() methods to emit a custom signal, without success.
eew
cheers,
Danny
More information about the pygtk
mailing list