summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Button.cs
blob: cb7162e79a8c9218bd6aa37f71f704fbeb24c851 (plain)
1
2
3
4
5
6
7
8
9
Efl.Ui.Button button = new Efl.Ui.Button(parent);

button.SetText("Test Button");

button.ClickedEvent += (sender, args) =>
{
    Efl.Ui.Button btn = (Efl.Ui.Button)sender;
    btn.SetText("Clicked");
};