append_text is simply a helper function -- you can do something like this instead (known to work with Glade widgets):
combobox.get_model().append(["text to append -- notice list form"])

I'm not sure why setting the model doesn't work, but the above should.

Phillip Calvin

Rob Marino wrote:

Thanks.....yes I've tried this.
viz:
        self.txtUserEmail     = self.appObj.get_widget("txtUserEmail")
        self.mailModel       = gtk.ListStore(gobject.TYPE_STRING)
        self.txtUserEmail.set_model(self.mailModel)

...but as you can see, I've loaded the widget from a glade file first, the intent being to speed up GUI development a bit....Is it only possible to instantiate the combo box object in code if I want to do this?

[snip]
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to