set_active_id
Description:
Changes the active row of this to the one that has an ID equal to active_id
.
Note:
Use [class@Gtk.DropDown]
If active_id
is null, the active row is unset. Rows having a null
ID string cannot be made active by this function.
If the [property@Gtk.ComboBox:id-column] property of this is unset or if no row has the given ID then the function does nothing and returns false.
Parameters:
this |
a `GtkComboBox` |
active_id |
the ID of the row to select |
Returns:
true if a row with a matching ID was found. If a null |