The function gtk_combo_box_prepend_text is making sure that the model of
the combo box is of type ListStore. Since it's failing and the function
in question only takes a string, we can assume it's an internal
problem. My guess would be that the combo box was not created with
gtk.combo_box_new_text() -- see the following link for details.
http://www.pygtk.org/pygtk2reference/class-gtkcombobox.html#method-gtkcombobox--prepend-text
Rob Marino wrote:
Hi.
Could anybody interpret the following for me?
GtkWarning:
gtk_combo_box_prepend_text: assertion `GTK_IS_LIST_STORE
(combo_box->priv->model)' failed
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/