diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-24 00:27:21 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-24 13:02:50 -0400 |
commit | 3656994f82585e3b5b65072fb05736fa520b709d (patch) | |
tree | 6a4cfc97ce6b9f698e43e3a74ef643c95115c2b9 /demos/gtk-demo | |
parent | fd5f6ef57f2a8bf64237fc8a7bca5f7ce62e9e44 (diff) | |
download | gtk+-3656994f82585e3b5b65072fb05736fa520b709d.tar.gz |
gtk-demo: Enable inline completion
Enable inline completion in the entry completion
demo, to have some code exercising this feature.
It is broken.
Diffstat (limited to 'demos/gtk-demo')
-rw-r--r-- | demos/gtk-demo/entry_completion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/gtk-demo/entry_completion.c b/demos/gtk-demo/entry_completion.c index a9949c2fc8..40d64bd8b6 100644 --- a/demos/gtk-demo/entry_completion.c +++ b/demos/gtk-demo/entry_completion.c @@ -107,6 +107,9 @@ do_entry_completion (GtkWidget *do_widget) /* Use model column 0 as the text column */ 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)) |