Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 6cbb34b

Browse files
committed
Add TextEntry completions example
1 parent 4a0ded1 commit 6cbb34b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

TestApps/Samples/Samples/TextEntries.cs

+10
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ public TextEntries ()
4242
la.Text = "Text: " + te1.Text;
4343
};
4444

45+
te1.SetCompletions(new string [] {
46+
"Lorem",
47+
"Ipsum",
48+
"Word1",
49+
"Word2",
50+
"Lorem Ipsum",
51+
"Sample",
52+
"Text"
53+
});
54+
4555
HBox selBox = new HBox ();
4656

4757
Label las = new Label ("Selection:");

0 commit comments

Comments
 (0)