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

Commit

Permalink
Add TextEntry completions example
Browse files Browse the repository at this point in the history
  • Loading branch information
sevoku committed Dec 18, 2019
1 parent 9e18300 commit ffbc049
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions TestApps/Samples/Samples/TextEntries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ public TextEntries ()
la.Text = "Text: " + te1.Text;
};

te1.SetCompletions(new string [] {
"Lorem",
"Ipsum",
"Word1",
"Word2",
"Lorem Ipsum",
"Sample",
"Text"
});

HBox selBox = new HBox ();

Label las = new Label ("Selection:");
Expand Down

0 comments on commit ffbc049

Please sign in to comment.