How to use GtkComboBox

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