[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_IsAlwaysOnTop")]
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
public static extern bool IsAlwaysOnTop(global::System.Runtime.InteropServices.HandleRef window);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_RelativeMotionGrab")]
+ [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
+ public static extern bool RelativeMotionGrab(global::System.Runtime.InteropServices.HandleRef window, uint boundary);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_RelativeMotionUnGrab")]
+ [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
+ public static extern bool RelativeMotionUnGrab(global::System.Runtime.InteropServices.HandleRef window);
}
}
}
BottomRight = 8,
}
+ /// <summary>
+ /// The Pointer edge boundary for grab.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum PointerBoundary
+ {
+ /// <summary>
+ /// Default value
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ None = 0,
+
+ /// <summary>
+ /// Top
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Top = 1,
+
+ /// <summary>
+ /// Right
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Right = 2,
+
+ /// <summary>
+ /// Bottom
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Bottom = 3,
+
+ /// <summary>
+ /// Left
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Left = 4,
+
+ }
+
/// <summary>
/// The stage instance property (read-only).<br />
/// Gets the current window.<br />
}
}
+ /// <summary>
+ /// Requests relative motion grab
+ /// </summary>
+ /// <returns>True if RelativeMotionGrab succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RelativeMotionGrab(PointerBoundary boundary)
+ {
+ bool ret = Interop.Window.RelativeMotionGrab(SwigCPtr, (uint)boundary);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Requests relative motion ungrab
+ /// </summary>
+ /// <returns>True if RelativeMotionGrab succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RelativeMotionUnGrab()
+ {
+ bool ret = Interop.Window.RelativeMotionUnGrab(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
IntPtr IWindowProvider.WindowHandle => GetNativeWindowHandler();
float IWindowProvider.X => WindowPosition.X;
float IWindowProvider.Y => WindowPosition.Y;