Andrea Dallera - 2010-10-17

Hi Eric,

I can confirm this bug - Gtk::Builder always builds a model combobox. Anyway, this is easily bypassable by creating a listmodel with only one column which you will then fill with strings.

Since I know you're using Freightrain :-) : you can skip all of this, just expose an array of strings on your viewmodel and bind it to the 'elements' property of the combobox. Don't look for the elements property on the API reference - there's no such thing, it's added to all combobox (and listviews and such) by freightrain. Here ( ) is an example on how to do that.