From: Eunki, Hong Date: Wed, 16 Oct 2024 06:44:43 +0000 (+0900) Subject: Revert "[Tizen] Revert "Bind the window new method of SetToBottom/IsBottom"" X-Git-Tag: accepted/tizen/unified/x/20241017.075849~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ead84e96471f1caa824499e9e6efed00ae3924d5;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Revert "[Tizen] Revert "Bind the window new method of SetToBottom/IsBottom"" This reverts commit 6577cc908a7faff6c226c10a88433c7522cfcd66. --- diff --git a/dali-csharp-binder/dali-adaptor/window-wrap.cpp b/dali-csharp-binder/dali-adaptor/window-wrap.cpp index df87c4ce..f416ce66 100644 --- a/dali-csharp-binder/dali-adaptor/window-wrap.cpp +++ b/dali-csharp-binder/dali-adaptor/window-wrap.cpp @@ -3817,6 +3817,30 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsAlwaysOnTop(void * winHandle) { return result; } +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetToBottom(void * winHandle, bool toBottom) { + Dali::Window *window = (Dali::Window *) 0 ; + + window = (Dali::Window *)winHandle; + { + try { + Dali::DevelWindow::SetToBottom(*window, toBottom); + } CALL_CATCH_EXCEPTION(); + } +} + +SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsBottom(void * winHandle) { + Dali::Window *window = (Dali::Window *) 0 ; + bool result = false; + + window = (Dali::Window *)winHandle; + { + try { + result = Dali::DevelWindow::IsBottom(*window); + } CALL_CATCH_EXCEPTION(false); + } + return result; +} + SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_RelativeMotionGrab(void * winHandle, unsigned int boundary) { Dali::Window *window = (Dali::Window *) 0 ; bool result = false;