From: Joogab Yun Date: Thu, 3 Jun 2021 06:43:24 +0000 (+0900) Subject: Add TOUCH_FOCUSABLE property X-Git-Tag: dali_2.0.31~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1d01bb84a1b6dfefd45130741a8068c4d114f95;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Add TOUCH_FOCUSABLE property Change-Id: Ia825cbe48b45928c924346a16c5fa914403339cf --- diff --git a/dali-csharp-binder/src/dali_wrap.cpp b/dali-csharp-binder/src/dali_wrap.cpp index 92a52761..c50daf19 100755 --- a/dali-csharp-binder/src/dali_wrap.cpp +++ b/dali-csharp-binder/src/dali_wrap.cpp @@ -24450,6 +24450,36 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Actor_IsKeyboardFocusable(void * return jresult; } +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Actor_SetTouchFocusable(void * jarg1, bool jarg2) { + Dali::Actor *arg1 = (Dali::Actor *) 0 ; + bool arg2 ; + + arg1 = (Dali::Actor *)jarg1; + arg2 = jarg2 ? true : false; + { + try { + (arg1)->SetProperty( DevelActor::Property::TOUCH_FOCUSABLE, arg2 ); + } CALL_CATCH_EXCEPTION(); + } + +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Actor_IsTouchFocusable(void * jarg1) { + unsigned int jresult ; + Dali::Actor *arg1 = (Dali::Actor *) 0 ; + bool result; + + arg1 = (Dali::Actor *)jarg1; + { + try { + result = (bool)((Dali::Actor const *)arg1)->GetProperty< bool >( DevelActor::Property::TOUCH_FOCUSABLE ); + } CALL_CATCH_EXCEPTION(0); + } + + jresult = result; + return jresult; +} SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Actor_SetResizePolicy(void * jarg1, int jarg2, int jarg3) { Dali::Actor *arg1 = (Dali::Actor *) 0 ;