using System;
using System.Runtime.InteropServices;
-public class LongPressGestureDetector : GestureDetector {
+internal class LongPressGestureDetector : GestureDetector {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal LongPressGestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LongPressGestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
}
public override void Dispose() {
- if (!Stage.IsInstalled()) {
+ if (!Window.IsInstalled()) {
DisposeQueue.Instance.Add(this);
return;
}
public class DetectedEventArgs : EventArgs
{
- private Actor _actor;
+ private View _view;
private LongPressGesture _longPressGesture;
- public Actor Actor
+ public View View
{
get
{
- return _actor;
+ return _view;
}
set
{
- _actor = value;
+ _view = value;
}
}
DetectedEventArgs e = new DetectedEventArgs();
// Populate all members of "e" (LongPressGestureEventArgs) with real data
- e.Actor = Actor.GetActorFromPtr(actor);
+ e.View = View.GetViewFromPtr(actor);
e.LongPressGesture = Dali.LongPressGesture.GetLongPressGestureFromPtr(longPressGesture);
if (_longPressGestureEventHandler != null)