Hi all,
I don't like the behaviour of GTK2 when I open a ComboBox as you can see on this image :
http://trac.gajim.org/attachment/ticket/22/menu_status_gajim.JPG
I've thought to an (ugly) workaround : when I open the combobox, I do a set_active(first), set_active(last) then I should see the entire popup menu. But I can't have the button-press-event signal emmited on the combobox.
I do that :
self.cb = gtk.ComboBox()
self.cb.set_events(gtk.gdk.ALL_EVENTS_MASK)
self.cb.connect('button-press-event', self.on_cb_clicked)
#populate liststore
self.cb.show_all()
but the on_cb_clicked function is never executed :/
Any help would be apreciated Yann _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
