On 19-01-18 19:31, FloFlo wrote:

I created a gtkcombobox with items. I wish pre-select an item in a list but o've got warnings (and i dont understand why) when i use the gtkcomboboxsetactive function.

Here is my code
....

How can i fix it ?
Thank's

A GtkCombo is not a GtkComboBox, you probably want a GtkComboBoxText
that way you could use gtkcomboboxtextappendtext to add the <br>options, and gtkcomboboxset_active to select on of the options.

PS: This list is actually for the D binding of GTK, and doesn't get a
lot of traffic.