Method

GtkEntryCompletionset_model

since: 2.4

Declaration [src]

void
gtk_entry_completion_set_model (
  GtkEntryCompletion* completion,
  GtkTreeModel* model
)

Description [src]

Sets the model for a GtkEntryCompletion. If completion already has a model set, it will remove it before setting the new model. If model is NULL, then it will unset the model.

Available since: 2.4

Parameters

model

Type: GtkTreeModel

The GtkTreeModel.

The argument can be NULL.
The data is owned by the caller of the method.