How to use GtkComboBox
1. create a
2. add some values to model;
3. create
4. create a
5. add
6. add
7. to get the selected value, use
8. and
GtkListStoremodel;
2. add some values to model;
3. create
GtkComboBox::new_with_model;
4. create a
GtkCellRendererText;
5. add
GtkCellRendererTextto the
GtkComboBox;
6. add
GtkComboBoxas propertie, setting column of model that will appear;
7. to get the selected value, use
GtkComboBox::get_active_iter;
8. and
get GtkListStore::get_valuefrom iter;