gtk-demo: Enable inline completion

Enable inline completion in the entry completion
demo, to have some code exercising this feature.
It is broken.
This commit is contained in:
Matthias Clasen 2020-06-24 00:27:21 -04:00
parent fd5f6ef57f
commit 3656994f82

View File

@ -107,6 +107,9 @@ do_entry_completion (GtkWidget *do_widget)
/* Use model column 0 as the text column */ /* Use model column 0 as the text column */
gtk_entry_completion_set_text_column (completion, 0); gtk_entry_completion_set_text_column (completion, 0);
gtk_entry_completion_set_inline_completion (completion, TRUE);
gtk_entry_completion_set_inline_selection (completion, TRUE);
} }
if (!gtk_widget_get_visible (window)) if (!gtk_widget_get_visible (window))