Constructor

GtkComboBoxnew_with_model

since: 2.4

Declaration [src]

GtkWidget*
gtk_combo_box_new_with_model (
  GtkTreeModel* model
)

Description [src]

Creates a new GtkComboBox with the model initialized to model.

Available since: 2.4

Parameters

model

Type: GtkTreeModel

A GtkTreeModel.

The data is owned by the caller of the function.

Return value

Type: GtkWidget

A new GtkComboBox.

The data is owned by the called function.