Combo.with_model


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "4.2" ) ]
public Combo.with_model (DataModel model, int n_cols, int cols_index)

Create a new GdauiCombo widget with a model.

See gdaui_combo_set_model for more information about the n_cols and cols_index usage.

Parameters:

model

a DataModel object.

n_cols

number of columns in the model to be shown

cols_index

an array of columns to be shown, its size must be n_cols

Returns:

the newly-created widget.