On Sun, Oct 03, 2004 at 02:43:58PM +0200, Matthias Teege wrote: > I have a lot of combo widgets in a small application. The data for the > combo-list-items come from a database. It is necessary to update the > combo-lists when the user clicks on the combo item. So I try to > connect to the button_press event on the combo-widget with > combo.connect("button_press_event", button_press), but if i click the > combo nothing happens.
You might consider using ComboBoxEntry instead. Then you can use a model for the popup list. Then you just need to make sure the model tracks the changes in the database. Dave Cook _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/