summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Check.cs
blob: 8d3f47ca583e423be1d7887ff1edc9a8a2a73f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Efl.Ui.Check check = new Efl.Ui.Check(parent);

check.SetText("Test Check");
check.SetSelected(true);

check.SelectedChangedEvent += (sender, args) =>
{
    if (check.Selected)
        Console.WriteLine("Check is selected");
    else
        Console.WriteLine("Check is not selected");
};