forked from enlightenment/efl
csharp: Minor change to D9692
Summary: Changing Evt to Event from some files that it wasn't catch on D9692 Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, felipealmeida, #reviewers, lauromoura, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9904
This commit is contained in:
parent
c681b3a1b3
commit
edae55fc76
|
@ -25,9 +25,9 @@ class TestMain
|
|||
|
||||
Console.WriteLine("Starting MainLoop");
|
||||
|
||||
timer.TimerTickEvt += listener.on_tick;
|
||||
timer.TimerTickEvt += listener.another_callback;
|
||||
timer.TimerTickEvt -= listener.another_callback;
|
||||
timer.TimerTickEvent += listener.on_tick;
|
||||
timer.TimerTickEvent += listener.another_callback;
|
||||
timer.TimerTickEvent -= listener.another_callback;
|
||||
|
||||
loop.Begin();
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ public class Example
|
|||
button.SetText(text);
|
||||
button.SetSize(new Eina.Size2D(w, h));
|
||||
|
||||
((Efl.Ui.Clickable)button).ClickedEvt += callback;
|
||||
((Efl.Ui.Clickable)button).ClickedEvent += callback;
|
||||
|
||||
return button;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ public class Example
|
|||
Efl.Ui.Slider slider = new Efl.Ui.Slider(box);
|
||||
slider.SetSize(new Eina.Size2D(W, H));
|
||||
|
||||
slider.ChangedEvt += (object sender, EventArgs e) => {
|
||||
slider.ChangedEvent += (object sender, EventArgs e) => {
|
||||
bar.SetRangeValue(slider.GetRangeValue());
|
||||
};
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ class TestEo
|
|||
{
|
||||
var obj = new Dummy.TestObject();
|
||||
Eina.Log.Error($"Created object 0x{obj.NativeHandle.ToInt64():x}");
|
||||
obj.DelEvt += (object sender, EventArgs e) => { delEventCalled = true; };
|
||||
obj.DelEvent += (object sender, EventArgs e) => { delEventCalled = true; };
|
||||
Eina.Log.Error($"Will dispose object 0x{obj.NativeHandle.ToInt64():x}");
|
||||
((IDisposable)obj).Dispose();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue