On Wed, 2007-05-09 at 15:42 -0600, Jeffrey Barish wrote: > Jeffrey Barish wrote: > > > Jeffrey Barish wrote: > > > >> Also, I want the box to display the first item as soon as I create the > >> ComboBox. What is the easiest way to do this? > > > > I solved this one. The child of the combo is a CellView, for which there > > is a set_displayed_row method. > > > > cellview = combo.get_child() > > cellview.set_displayed_row(0) > > Actually, there are problems. If you select the first row, there will be a > changed event even though the selection did not actually change. > > Also, the call to get_child() does not result in a changed event even though > there is a change. > > Can someone explain why these behaviors are not bugs?
See here http://www.daa.com.au/pipermail/pygtk/2007-March/013560.html Hope that helps. John _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/