Gtk-rs create liststore for combobox model

#1

I’m trying to write a simple GUI for setting up XML configurations and I’m looking for how to add a liststore model to populate the options of a combobox.

I’ve found this example with a TreeStore as the model for the combobox but that doesn’t seem to be working correctly although it does create the correct number of items in the drop down.

Would someone point me to a simple working example of how to use a liststore as the model for a combobox?

Thanks!

0 Likes