[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_UngrabKey")]
public static extern bool UngrabKey(System.IntPtr Window, int DaliKey);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_SetKeyboardRepeatInfo")]
+ public static extern bool SetKeyboardRepeatInfo(double rate, double delay);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_GetKeyboardRepeatInfo")]
+ public static extern bool GetKeyboardRepeatInfo(out double rate, out double delay);
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_Dali_GetNativeWindowHandler")]
public static extern System.IntPtr GetNativeWindowHandler(System.IntPtr Window);
return ret;
}
+ /// <summary>
+ /// Sets keyboard repeat information.
+ /// </summary>
+ /// <param name="rate">The key repeat rate value in seconds</param>
+ /// <param name="delay">The key repeat delay value in seconds</param>
+ /// <returns>True if setting the keyboard repeat succeeds.</returns>
+ /// <since_tizen> 5 </since_tizen>
+ public bool SetKeyboardRepeatInfo(double rate, double delay)
+ {
+ bool ret = NDalicManualPINVOKE.SetKeyboardRepeatInfo(rate, delay);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Gets keyboard repeat information.
+ /// </summary>
+ /// <param name="rate">The key repeat rate value in seconds</param>
+ /// <param name="delay">The key repeat delay value in seconds</param>
+ /// <returns>True if setting the keyboard repeat succeeds.</returns>
+ /// <since_tizen> 5 </since_tizen>
+ public bool GetKeyboardRepeatInfo(out double rate, out double delay)
+ {
+ bool ret = NDalicManualPINVOKE.GetKeyboardRepeatInfo(out rate, out delay);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
internal System.IntPtr GetNativeWindowHandler()
{
System.IntPtr ret = NDalicManualPINVOKE.GetNativeWindowHandler(HandleRef.ToIntPtr(this.swigCPtr));