aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-05-15 12:01:16 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-05-15 12:01:16 +0200
commit836a9edf7370e9f8f1b1e11bf11997ae88598307 (patch)
tree11c1c8a60697b7bd698df1a35c3f7dae182c96c6 /reference
parenttexteditor app: no need to use efl_part (diff)
downloadexamples-836a9edf7370e9f8f1b1e11bf11997ae88598307.tar.gz
mono examples: Update to latest Efl.Ui.Clickable syntax
Diffstat (limited to 'reference')
-rw-r--r--reference/csharp/ui/src/focus_main.cs4
-rw-r--r--reference/csharp/ui/src/ui_container.cs2
2 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 43170be1..4ca376e4 100644
--- a/reference/csharp/ui/src/focus_main.cs
+++ b/reference/csharp/ui/src/focus_main.cs
@@ -46,7 +46,7 @@ public class Example : Efl.Csharp.Application
var button = new Efl.Ui.Button(hbox);
button.SetText("Focus mover");
button.FocusChangedEvt += FocusChangedCb;
- button.ClickedEvt += (object sender, EventArgs e) => {
+ button.ClickedEvt += (object sender, Efl.Ui.IClickableClickedEvt_Args e) => {
Console.WriteLine("Clicked Focus Mover");
// Manually transfer focus to the first check box
Efl.Ui.Focus.Util.Focus(first_checkbox);
@@ -57,7 +57,7 @@ public class Example : Efl.Csharp.Application
button = new Efl.Ui.Button(hbox);
button.SetText("Quit");
button.FocusChangedEvt += FocusChangedCb;
- button.ClickedEvt += (object sender, EventArgs e) => {
+ button.ClickedEvt += (object sender, Efl.Ui.IClickableClickedEvt_Args e) => {
Console.WriteLine("Clicked Quit");
Efl.Ui.Config.Exit();
};
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index f2e27e6e..1ee439ff 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -98,7 +98,7 @@ public class Example : Efl.Csharp.Application
Efl.Ui.Button quit_btn = new Efl.Ui.Button(win);
quit_btn.SetText("Quit");
quit_btn.SetHintSizeMax(new Eina.Size2D(150, 30));
- quit_btn.ClickedEvt += (object sender, EventArgs e) => {
+ quit_btn.ClickedEvt += (object sender, Efl.Ui.IClickableClickedEvt_Args e) => {
// Exit the EFL main loop
Efl.Ui.Config.Exit();
};