When I create a glade interface and add a simple ComboBox, GtkBuilder doesn't import the proper type of ComboBox.
There are two distinct types of ComboBoxes that are created like so:
Gtk::ComboBox.new(is_text_only = true)
Even if there's no tag for "model" in the xml, GtkBuilder will still build the "model" type. I've verified that glade is working properly. For example, when I add a ListStore object in glade, it will add this line:
When I remove the object, this tag is gone. So the bug is exactly this: When GtkBuilder sees no tag indicating a model, it should create a simple combo box. Its the widget that people are looking for about 95% of the time. This bug is important because you can't change the type of the ComboBox at runtime. You're forced to learn all about the Treeview, ListView, Iter, paths etc. just to make a simple combobox.
Log in to post a comment.