summaryrefslogtreecommitdiff
path: root/reference/csharp/ui/src/focus_main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/ui/src/focus_main.cs')
-rw-r--r--reference/csharp/ui/src/focus_main.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/reference/csharp/ui/src/focus_main.cs b/reference/csharp/ui/src/focus_main.cs
index 0e8c481..4ced2a8 100644
--- a/reference/csharp/ui/src/focus_main.cs
+++ b/reference/csharp/ui/src/focus_main.cs
@@ -18,7 +18,7 @@ public class Example : Efl.Csharp.Application
18 if (e.arg == false) 18 if (e.arg == false)
19 Efl.Ui.Config.Exit(); 19 Efl.Ui.Config.Exit();
20 }; 20 };
21 21
22 22
23 // Create the main box container 23 // Create the main box container
24 var vbox = new Efl.Ui.Box(win); 24 var vbox = new Efl.Ui.Box(win);
@@ -46,7 +46,7 @@ public class Example : Efl.Csharp.Application
46 var button = new Efl.Ui.Button(hbox); 46 var button = new Efl.Ui.Button(hbox);
47 button.SetText("Focus mover"); 47 button.SetText("Focus mover");
48 button.FocusChangedEvt += FocusChangedCb; 48 button.FocusChangedEvt += FocusChangedCb;
49 button.ClickedEvt += (object sender, Efl.Ui.IClickableClickedEvt_Args e) => { 49 button.ClickedEvt += (object sender, Efl.Input.IClickableClickedEvt_Args e) => {
50 Console.WriteLine("Clicked Focus Mover"); 50 Console.WriteLine("Clicked Focus Mover");
51 // Manually transfer focus to the first check box 51 // Manually transfer focus to the first check box
52 Efl.Ui.Focus.Util.Focus(first_checkbox); 52 Efl.Ui.Focus.Util.Focus(first_checkbox);
@@ -57,7 +57,7 @@ public class Example : Efl.Csharp.Application
57 button = new Efl.Ui.Button(hbox); 57 button = new Efl.Ui.Button(hbox);
58 button.SetText("Quit"); 58 button.SetText("Quit");
59 button.FocusChangedEvt += FocusChangedCb; 59 button.FocusChangedEvt += FocusChangedCb;
60 button.ClickedEvt += (object sender, Efl.Ui.IClickableClickedEvt_Args e) => { 60 button.ClickedEvt += (object sender, Efl.Input.IClickableClickedEvt_Args e) => {
61 Console.WriteLine("Clicked Quit"); 61 Console.WriteLine("Clicked Quit");
62 Efl.Ui.Config.Exit(); 62 Efl.Ui.Config.Exit();
63 }; 63 };