[gtk/matthiasc/for-master: 2/4] gtk-demo: Enable inline completion
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 2/4] gtk-demo: Enable inline completion
- Date: Wed, 24 Jun 2020 17:03:50 +0000 (UTC)
commit 3656994f82585e3b5b65072fb05736fa520b709d
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 24 00:27:21 2020 -0400
gtk-demo: Enable inline completion
Enable inline completion in the entry completion
demo, to have some code exercising this feature.
It is broken.
demos/gtk-demo/entry_completion.c | 3 +++
1 file changed, 3 insertions(+)
---
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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]