[Tizen] Binding IsFloatingModeEnabled 65/295565/1 accepted/tizen/7.0/unified/20230718.090144 accepted/tizen/7.0/unified/20230719.171811
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 10 Jul 2023 05:40:56 +0000 (14:40 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 11 Jul 2023 04:46:54 +0000 (13:46 +0900)
refer :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/295493/

Change-Id: I466f3a7744192f4d25e205e9136c7b64d89d01a1

dali-csharp-binder/src/window-wrap.cpp

index e73c07d..39261d3 100644 (file)
@@ -2606,6 +2606,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_EnableFloatingMode(void* jarg1, b
 
 }
 
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsFloatingModeEnabled(void* winHandle)
+{
+  Dali::Window* window = (Dali::Window*)winHandle;
+  bool result = false;
+  if (!window) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+    return false;
+  }
+
+  {
+    try {
+      result = Dali::DevelWindow::IsFloatingModeEnabled(*window);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+  return result;
+
+}
+
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_IncludeInputRegion(void* winHandle, void* region)
 {
   Dali::Window* window = (Dali::Window*)winHandle;