1 /** Copyright (c) 2018 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
22 #include <dali/devel-api/adaptor-framework/drag-and-drop-detector.h>
23 #include <dali/public-api/adaptor-framework/window.h>
24 #include <dali/integration-api/adaptors/adaptor.h>
26 #include <dali-toolkit/devel-api/controls/control-devel.h>
27 #include <dali-toolkit/devel-api/layouting/absolute-layout.h>
29 /* Callback for returning strings to C# without leaking memory */
30 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
31 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
35 SWIGINTERN bool Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty(Dali::Signal< void (bool) > const *self){
38 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount(Dali::Signal< void (bool) > const *self){
39 return self->GetConnectionCount();
41 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
42 self->Connect( func );
44 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
45 self->Disconnect( func );
47 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(Dali::Signal< void (bool) > *self,bool arg){
52 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
55 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
56 return self->GetConnectionCount();
58 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(Dali::Signal< void (Dali::Window::WindowSize) > *self,void (*func)(Dali::Window::WindowSize)){
59 self->Connect( func );
61 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(Dali::Signal< void (Dali::Window::WindowSize) > *self,void (*func)(Dali::Window::WindowSize)){
62 self->Disconnect( func );
64 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(Dali::Signal< void (Dali::Window::WindowSize) > *self,Dali::Window::WindowSize arg){
73 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Window_SWIGUpcast(Dali::Window *jarg1) {
74 return (Dali::BaseHandle *)jarg1;
77 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
79 Dali::PositionSize arg1 ;
80 std::string *arg2 = 0 ;
82 Dali::PositionSize *argp1 ;
85 argp1 = (Dali::PositionSize *)jarg1;
87 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
92 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
95 std::string arg2_str(jarg2);
97 arg3 = jarg3 ? true : false;
100 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
101 } catch (std::out_of_range& e) {
103 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
105 } catch (std::exception& e) {
107 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
109 } catch (Dali::DaliException e) {
111 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
115 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
120 jresult = new Dali::Window((const Dali::Window &)result);
122 //argout typemap for const std::string&
128 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
130 Dali::PositionSize arg1 ;
131 std::string *arg2 = 0 ;
132 Dali::PositionSize *argp1 ;
135 argp1 = (Dali::PositionSize *)jarg1;
137 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
142 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
145 std::string arg2_str(jarg2);
149 result = Dali::Window::New(arg1,(std::string const &)*arg2);
150 } catch (std::out_of_range& e) {
152 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
154 } catch (std::exception& e) {
156 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
158 } catch (Dali::DaliException e) {
160 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
164 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
169 jresult = new Dali::Window((const Dali::Window &)result);
171 //argout typemap for const std::string&
177 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
179 Dali::PositionSize arg1 ;
180 std::string *arg2 = 0 ;
181 std::string *arg3 = 0 ;
183 Dali::PositionSize *argp1 ;
186 argp1 = (Dali::PositionSize *)jarg1;
188 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
193 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
196 std::string arg2_str(jarg2);
199 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
202 std::string arg3_str(jarg3);
204 arg4 = jarg4 ? true : false;
207 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
208 } catch (std::out_of_range& e) {
210 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
212 } catch (std::exception& e) {
214 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
216 } catch (Dali::DaliException e) {
218 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
222 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
227 jresult = new Dali::Window((const Dali::Window &)result);
233 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
235 Dali::PositionSize arg1 ;
236 std::string *arg2 = 0 ;
237 std::string *arg3 = 0 ;
238 Dali::PositionSize *argp1 ;
241 argp1 = (Dali::PositionSize *)jarg1;
243 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
248 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
251 std::string arg2_str(jarg2);
254 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
257 std::string arg3_str(jarg3);
261 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
262 } catch (std::out_of_range& e) {
264 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
266 } catch (std::exception& e) {
268 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
270 } catch (Dali::DaliException e) {
272 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
276 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
281 jresult = new Dali::Window((const Dali::Window &)result);
287 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
289 Dali::Window *result = 0 ;
293 result = (Dali::Window *)new Dali::Window();
294 } catch (std::out_of_range& e) {
296 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
298 } catch (std::exception& e) {
300 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
302 } catch (Dali::DaliException e) {
304 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
308 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
313 jresult = (void *)result;
318 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
319 Dali::Window *arg1 = (Dali::Window *) 0 ;
321 arg1 = (Dali::Window *)jarg1;
325 } catch (std::out_of_range& e) {
327 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
329 } catch (std::exception& e) {
331 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
333 } catch (Dali::DaliException e) {
335 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
339 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
347 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
349 Dali::Window *arg1 = 0 ;
350 Dali::Window *result = 0 ;
352 arg1 = (Dali::Window *)jarg1;
354 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
359 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
360 } catch (std::out_of_range& e) {
362 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
364 } catch (std::exception& e) {
366 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
368 } catch (Dali::DaliException e) {
370 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
374 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
379 jresult = (void *)result;
384 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
386 Dali::Window *arg1 = (Dali::Window *) 0 ;
387 Dali::Window *arg2 = 0 ;
388 Dali::Window *result = 0 ;
390 arg1 = (Dali::Window *)jarg1;
391 arg2 = (Dali::Window *)jarg2;
393 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
398 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
399 } catch (std::out_of_range& e) {
401 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
403 } catch (std::exception& e) {
405 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
407 } catch (Dali::DaliException e) {
409 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
413 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
418 jresult = (void *)result;
423 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ShowIndicator(void * jarg1, int jarg2) {
424 Dali::Window *arg1 = (Dali::Window *) 0 ;
425 Dali::Window::IndicatorVisibleMode arg2 ;
427 arg1 = (Dali::Window *)jarg1;
428 arg2 = (Dali::Window::IndicatorVisibleMode)jarg2;
431 (arg1)->ShowIndicator(arg2);
432 } catch (std::out_of_range& e) {
434 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
436 } catch (std::exception& e) {
438 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
440 } catch (Dali::DaliException e) {
442 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
446 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
454 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetIndicatorBgOpacity(void * jarg1, int jarg2) {
455 Dali::Window *arg1 = (Dali::Window *) 0 ;
456 Dali::Window::IndicatorBgOpacity arg2 ;
458 arg1 = (Dali::Window *)jarg1;
459 arg2 = (Dali::Window::IndicatorBgOpacity)jarg2;
462 (arg1)->SetIndicatorBgOpacity(arg2);
463 } catch (std::out_of_range& e) {
465 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
467 } catch (std::exception& e) {
469 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
471 } catch (Dali::DaliException e) {
473 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
477 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
485 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RotateIndicator(void * jarg1, int jarg2) {
486 Dali::Window *arg1 = (Dali::Window *) 0 ;
487 Dali::Window::WindowOrientation arg2 ;
489 arg1 = (Dali::Window *)jarg1;
490 arg2 = (Dali::Window::WindowOrientation)jarg2;
493 (arg1)->RotateIndicator(arg2);
494 } catch (std::out_of_range& e) {
496 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
498 } catch (std::exception& e) {
500 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
502 } catch (Dali::DaliException e) {
504 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
508 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
516 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
517 Dali::Window *arg1 = (Dali::Window *) 0 ;
521 arg1 = (Dali::Window *)jarg1;
523 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
526 (&arg2)->assign(jarg2);
528 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
531 (&arg3)->assign(jarg3);
534 (arg1)->SetClass(arg2,arg3);
535 } catch (std::out_of_range& e) {
537 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
539 } catch (std::exception& e) {
541 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
543 } catch (Dali::DaliException e) {
545 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
549 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
557 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
558 Dali::Window *arg1 = (Dali::Window *) 0 ;
560 arg1 = (Dali::Window *)jarg1;
564 } catch (std::out_of_range& e) {
566 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
568 } catch (std::exception& e) {
570 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
572 } catch (Dali::DaliException e) {
574 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
578 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
586 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
587 Dali::Window *arg1 = (Dali::Window *) 0 ;
589 arg1 = (Dali::Window *)jarg1;
593 } catch (std::out_of_range& e) {
595 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
597 } catch (std::exception& e) {
599 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
601 } catch (Dali::DaliException e) {
603 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
607 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
615 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
616 Dali::Window *arg1 = (Dali::Window *) 0 ;
618 arg1 = (Dali::Window *)jarg1;
622 } catch (std::out_of_range& e) {
624 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
626 } catch (std::exception& e) {
628 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
630 } catch (Dali::DaliException e) {
632 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
636 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
644 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
645 Dali::Window *arg1 = (Dali::Window *) 0 ;
646 Dali::Window::WindowOrientation arg2 ;
648 arg1 = (Dali::Window *)jarg1;
649 arg2 = (Dali::Window::WindowOrientation)jarg2;
652 (arg1)->AddAvailableOrientation(arg2);
653 } catch (std::out_of_range& e) {
655 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
657 } catch (std::exception& e) {
659 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
661 } catch (Dali::DaliException e) {
663 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
667 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
675 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
676 Dali::Window *arg1 = (Dali::Window *) 0 ;
677 Dali::Window::WindowOrientation arg2 ;
679 arg1 = (Dali::Window *)jarg1;
680 arg2 = (Dali::Window::WindowOrientation)jarg2;
683 (arg1)->RemoveAvailableOrientation(arg2);
684 } catch (std::out_of_range& e) {
686 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
688 } catch (std::exception& e) {
690 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
692 } catch (Dali::DaliException e) {
694 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
698 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
706 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
707 Dali::Window *arg1 = (Dali::Window *) 0 ;
708 Dali::Window::WindowOrientation arg2 ;
710 arg1 = (Dali::Window *)jarg1;
711 arg2 = (Dali::Window::WindowOrientation)jarg2;
714 (arg1)->SetPreferredOrientation(arg2);
715 } catch (std::out_of_range& e) {
717 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
719 } catch (std::exception& e) {
721 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
723 } catch (Dali::DaliException e) {
725 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
729 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
737 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
739 Dali::Window *arg1 = (Dali::Window *) 0 ;
740 Dali::Window::WindowOrientation result;
742 arg1 = (Dali::Window *)jarg1;
745 result = (Dali::Window::WindowOrientation)(arg1)->GetPreferredOrientation();
746 } catch (std::out_of_range& e) {
748 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
750 } catch (std::exception& e) {
752 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
754 } catch (Dali::DaliException e) {
756 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
760 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
765 jresult = (int)result;
770 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetDragAndDropDetector(void * jarg1) {
772 Dali::Window *arg1 = (Dali::Window *) 0 ;
773 Dali::DragAndDropDetector result;
775 arg1 = (Dali::Window *)jarg1;
778 result = ((Dali::Window const *)arg1)->GetDragAndDropDetector();
779 } catch (std::out_of_range& e) {
781 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
783 } catch (std::exception& e) {
785 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
787 } catch (Dali::DaliException e) {
789 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
793 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
798 jresult = new Dali::DragAndDropDetector((const Dali::DragAndDropDetector &)result);
803 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
805 Dali::Window *arg1 = (Dali::Window *) 0 ;
808 arg1 = (Dali::Window *)jarg1;
811 result = ((Dali::Window const *)arg1)->GetNativeHandle();
812 } catch (std::out_of_range& e) {
814 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
816 } catch (std::exception& e) {
818 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
820 } catch (Dali::DaliException e) {
822 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
826 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
831 jresult = new Dali::Any((const Dali::Any &)result);
835 /*window-devel binding*/
837 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
840 Dali::Window *argp1 ;
841 Dali::Window::FocusSignalType *result = 0 ;
843 argp1 = (Dali::Window *)jarg1;
845 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
851 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
852 } catch (std::out_of_range& e) {
854 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
856 } catch (std::exception& e) {
858 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
860 } catch (Dali::DaliException e) {
862 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
866 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
871 jresult = (void *)result;
876 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
879 Dali::Window *argp1 ;
881 argp1 = (Dali::Window *)jarg1;
883 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
887 arg2 = jarg2 ? true : false;
890 arg1.SetAcceptFocus(arg2);
891 } catch (std::out_of_range& e) {
893 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
895 } catch (std::exception& e) {
897 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
899 } catch (Dali::DaliException e) {
901 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
905 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
913 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
914 unsigned int jresult ;
916 Dali::Window *argp1 ;
919 argp1 = (Dali::Window *)jarg1;
921 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
927 result = (bool)arg1.IsFocusAcceptable();
928 } catch (std::out_of_range& e) {
930 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
932 } catch (std::exception& e) {
934 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
936 } catch (Dali::DaliException e) {
938 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
942 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
952 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
954 Dali::Window *argp1 ;
956 argp1 = (Dali::Window *)jarg1;
958 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
965 } catch (std::out_of_range& e) {
967 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
969 } catch (std::exception& e) {
971 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
973 } catch (Dali::DaliException e) {
975 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
979 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
987 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
989 Dali::Window *argp1 ;
991 argp1 = (Dali::Window *)jarg1;
993 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1000 } catch (std::out_of_range& e) {
1002 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1004 } catch (std::exception& e) {
1006 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1008 } catch (Dali::DaliException e) {
1010 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1014 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1022 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
1023 unsigned int jresult ;
1025 Dali::Window *argp1 ;
1028 argp1 = (Dali::Window *)jarg1;
1030 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1036 result = (bool)arg1.IsVisible();
1037 } catch (std::out_of_range& e) {
1039 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1041 } catch (std::exception& e) {
1043 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1045 } catch (Dali::DaliException e) {
1047 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1051 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1061 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1062 unsigned int jresult ;
1064 Dali::Window *argp1 ;
1065 unsigned int result;
1067 argp1 = (Dali::Window *)jarg1;
1069 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1075 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1076 } catch (std::out_of_range& e) {
1078 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1080 } catch (std::exception& e) {
1082 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1084 } catch (Dali::DaliException e) {
1086 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1090 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1100 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1104 Dali::Window *argp1 ;
1107 argp1 = (Dali::Window *)jarg1;
1109 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1113 arg2 = (unsigned int)jarg2;
1116 result = arg1.GetSupportedAuxiliaryHint(arg2);
1117 } catch (std::out_of_range& e) {
1119 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1121 } catch (std::exception& e) {
1123 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1125 } catch (Dali::DaliException e) {
1127 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1131 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1136 jresult = SWIG_csharp_string_callback((&result)->c_str());
1141 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1142 unsigned int jresult ;
1144 std::string *arg2 = 0 ;
1145 std::string *arg3 = 0 ;
1146 Dali::Window *argp1 ;
1147 unsigned int result;
1149 argp1 = (Dali::Window *)jarg1;
1151 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1156 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1159 std::string arg2_str(jarg2);
1162 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1165 std::string arg3_str(jarg3);
1169 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1170 } catch (std::out_of_range& e) {
1172 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1174 } catch (std::exception& e) {
1176 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1178 } catch (Dali::DaliException e) {
1180 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1184 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1195 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1196 unsigned int jresult ;
1199 Dali::Window *argp1 ;
1202 argp1 = (Dali::Window *)jarg1;
1204 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1208 arg2 = (unsigned int)jarg2;
1211 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
1212 } catch (std::out_of_range& e) {
1214 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1216 } catch (std::exception& e) {
1218 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1220 } catch (Dali::DaliException e) {
1222 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1226 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1236 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1237 unsigned int jresult ;
1240 std::string *arg3 = 0 ;
1241 Dali::Window *argp1 ;
1244 argp1 = (Dali::Window *)jarg1;
1246 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1250 arg2 = (unsigned int)jarg2;
1252 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1255 std::string arg3_str(jarg3);
1259 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1260 } catch (std::out_of_range& e) {
1262 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1264 } catch (std::exception& e) {
1266 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1268 } catch (Dali::DaliException e) {
1270 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1274 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1281 //argout typemap for const std::string&
1287 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
1291 Dali::Window *argp1 ;
1294 argp1 = (Dali::Window *)jarg1;
1296 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1300 arg2 = (unsigned int)jarg2;
1303 result = arg1.GetAuxiliaryHintValue(arg2);
1304 } catch (std::out_of_range& e) {
1306 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1308 } catch (std::exception& e) {
1310 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1312 } catch (Dali::DaliException e) {
1314 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1318 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1323 jresult = SWIG_csharp_string_callback((&result)->c_str());
1328 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1329 unsigned int jresult ;
1331 std::string *arg2 = 0 ;
1332 Dali::Window *argp1 ;
1333 unsigned int result;
1335 argp1 = (Dali::Window *)jarg1;
1337 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1342 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1345 std::string arg2_str(jarg2);
1349 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1350 } catch (std::out_of_range& e) {
1352 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1354 } catch (std::exception& e) {
1356 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1358 } catch (Dali::DaliException e) {
1360 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1364 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1371 //argout typemap for const std::string&
1377 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1379 Dali::Rect< int > *arg2 = 0 ;
1380 Dali::Window *argp1 ;
1382 argp1 = (Dali::Window *)jarg1;
1384 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1388 arg2 = (Dali::Rect< int > *)jarg2;
1390 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1395 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1396 } catch (std::out_of_range& e) {
1398 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1400 } catch (std::exception& e) {
1402 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1404 } catch (Dali::DaliException e) {
1406 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1410 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1418 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1420 Dali::Window::Type arg2 ;
1421 Dali::Window *argp1 ;
1423 argp1 = (Dali::Window *)jarg1;
1425 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1429 arg2 = (Dali::Window::Type)jarg2;
1433 } catch (std::out_of_range& e) {
1435 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1437 } catch (std::exception& e) {
1439 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1441 } catch (Dali::DaliException e) {
1443 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1447 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1455 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1458 Dali::Window *argp1 ;
1459 Dali::Window::Type result;
1461 argp1 = (Dali::Window *)jarg1;
1463 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1469 result = (Dali::Window::Type)arg1.GetType();
1470 } catch (std::out_of_range& e) {
1472 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1474 } catch (std::exception& e) {
1476 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1478 } catch (Dali::DaliException e) {
1480 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1484 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1489 jresult = (int)result;
1494 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1495 unsigned int jresult ;
1497 Dali::Window::NotificationLevel::Type arg2 ;
1498 Dali::Window *argp1 ;
1501 argp1 = (Dali::Window *)jarg1;
1503 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1507 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1510 result = (bool)arg1.SetNotificationLevel(arg2);
1511 } catch (std::out_of_range& e) {
1513 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1515 } catch (std::exception& e) {
1517 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1519 } catch (Dali::DaliException e) {
1521 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1525 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1535 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1538 Dali::Window *argp1 ;
1539 Dali::Window::NotificationLevel::Type result;
1541 argp1 = (Dali::Window *)jarg1;
1543 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1549 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1550 } catch (std::out_of_range& e) {
1552 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1554 } catch (std::exception& e) {
1556 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1558 } catch (Dali::DaliException e) {
1560 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1564 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1569 jresult = (int)result;
1574 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1577 Dali::Window *argp1 ;
1579 argp1 = (Dali::Window *)jarg1;
1581 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1585 arg2 = jarg2 ? true : false;
1588 arg1.SetOpaqueState(arg2);
1589 } catch (std::out_of_range& e) {
1591 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1593 } catch (std::exception& e) {
1595 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1597 } catch (Dali::DaliException e) {
1599 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1603 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1611 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1612 unsigned int jresult ;
1614 Dali::Window *argp1 ;
1617 argp1 = (Dali::Window *)jarg1;
1619 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1625 result = (bool)arg1.IsOpaqueState();
1626 } catch (std::out_of_range& e) {
1628 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1630 } catch (std::exception& e) {
1632 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1634 } catch (Dali::DaliException e) {
1636 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1640 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1650 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1651 unsigned int jresult ;
1653 Dali::Window::ScreenOffMode::Type arg2 ;
1654 Dali::Window *argp1 ;
1657 argp1 = (Dali::Window *)jarg1;
1659 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1663 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1666 result = (bool)arg1.SetScreenOffMode(arg2);
1667 } catch (std::out_of_range& e) {
1669 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1671 } catch (std::exception& e) {
1673 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1675 } catch (Dali::DaliException e) {
1677 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1681 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1691 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1694 Dali::Window *argp1 ;
1695 Dali::Window::ScreenOffMode::Type result;
1697 argp1 = (Dali::Window *)jarg1;
1699 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1705 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1706 } catch (std::out_of_range& e) {
1708 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1710 } catch (std::exception& e) {
1712 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1714 } catch (Dali::DaliException e) {
1716 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1720 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1725 jresult = (int)result;
1730 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1731 unsigned int jresult ;
1734 Dali::Window *argp1 ;
1737 argp1 = (Dali::Window *)jarg1;
1739 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1746 result = (bool)arg1.SetBrightness(arg2);
1747 } catch (std::out_of_range& e) {
1749 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1751 } catch (std::exception& e) {
1753 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1755 } catch (Dali::DaliException e) {
1757 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1761 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1771 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1774 Dali::Window *argp1 ;
1777 argp1 = (Dali::Window *)jarg1;
1779 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1785 result = (int)arg1.GetBrightness();
1786 } catch (std::out_of_range& e) {
1788 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1790 } catch (std::exception& e) {
1792 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1794 } catch (Dali::DaliException e) {
1796 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1800 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1809 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1810 unsigned int jresult ;
1811 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1814 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1817 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1818 } catch (std::out_of_range& e) {
1820 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1822 } catch (std::exception& e) {
1824 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1826 } catch (Dali::DaliException e) {
1828 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1832 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1842 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1843 unsigned long jresult ;
1844 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1847 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1850 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1851 } catch (std::out_of_range& e) {
1853 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1855 } catch (std::exception& e) {
1857 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1859 } catch (Dali::DaliException e) {
1861 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1865 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1870 jresult = (unsigned long)result;
1875 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1876 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1877 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1879 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1880 arg2 = (void (*)(bool))jarg2;
1883 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1884 } catch (std::out_of_range& e) {
1886 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1888 } catch (std::exception& e) {
1890 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1892 } catch (Dali::DaliException e) {
1894 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1898 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1906 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1907 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1908 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1910 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1911 arg2 = (void (*)(bool))jarg2;
1914 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1915 } catch (std::out_of_range& e) {
1917 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1919 } catch (std::exception& e) {
1921 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1923 } catch (Dali::DaliException e) {
1925 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1929 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1937 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1938 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1941 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1942 arg2 = jarg2 ? true : false;
1945 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
1946 } catch (std::out_of_range& e) {
1948 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1950 } catch (std::exception& e) {
1952 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1954 } catch (Dali::DaliException e) {
1956 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1960 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1968 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1970 Dali::Signal< void (bool) > *result = 0 ;
1974 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
1975 } catch (std::out_of_range& e) {
1977 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1979 } catch (std::exception& e) {
1981 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1983 } catch (Dali::DaliException e) {
1985 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1989 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1994 jresult = (void *)result;
1999 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
2000 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
2002 arg1 = (Dali::Signal< void (bool) > *)jarg1;
2006 } catch (std::out_of_range& e) {
2008 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2010 } catch (std::exception& e) {
2012 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2014 } catch (Dali::DaliException e) {
2016 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2020 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2029 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
2032 Dali::Window *argp1 ;
2033 Dali::Window::ResizedSignalType *result = 0 ;
2035 argp1 = (Dali::Window *)jarg1;
2037 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2043 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2044 } catch (std::out_of_range& e) {
2046 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2048 } catch (std::exception& e) {
2050 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2052 } catch (Dali::DaliException e) {
2054 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2058 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2063 jresult = (void *)result;
2067 /*ResizedSignal binding*/
2068 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2069 unsigned int jresult ;
2070 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2073 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2076 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2077 } catch (std::out_of_range& e) {
2079 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2081 } catch (std::exception& e) {
2083 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2085 } catch (Dali::DaliException e) {
2087 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2091 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2101 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2102 unsigned long jresult ;
2103 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2106 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2109 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2110 } catch (std::out_of_range& e) {
2112 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2114 } catch (std::exception& e) {
2116 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2118 } catch (Dali::DaliException e) {
2120 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2124 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2129 jresult = (unsigned long)result;
2134 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2135 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2136 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2138 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2139 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2142 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2143 } catch (std::out_of_range& e) {
2145 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2147 } catch (std::exception& e) {
2149 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2151 } catch (Dali::DaliException e) {
2153 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2157 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2165 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2166 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2167 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2169 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2170 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2173 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2174 } catch (std::out_of_range& e) {
2176 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2178 } catch (std::exception& e) {
2180 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2182 } catch (Dali::DaliException e) {
2184 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2188 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2196 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2197 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2198 Dali::Window::WindowSize arg2 ;
2199 Dali::Window::WindowSize *argp2 ;
2201 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2202 argp2 = (Dali::Window::WindowSize *)jarg2;
2204 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2210 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2211 } catch (std::out_of_range& e) {
2213 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2215 } catch (std::exception& e) {
2217 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2219 } catch (Dali::DaliException e) {
2221 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2225 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2233 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2235 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2239 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2240 } catch (std::out_of_range& e) {
2242 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2244 } catch (std::exception& e) {
2246 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2248 } catch (Dali::DaliException e) {
2250 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2254 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2259 jresult = (void *)result;
2264 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2265 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2267 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2271 } catch (std::out_of_range& e) {
2273 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2275 } catch (std::exception& e) {
2277 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2279 } catch (Dali::DaliException e) {
2281 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2285 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2292 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2294 Dali::Window::WindowSize arg2 ;
2295 Dali::Window *argp1 ;
2296 Dali::Window::WindowSize *argp2 ;
2298 argp1 = (Dali::Window *)jarg1;
2300 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2304 argp2 = (Dali::Window::WindowSize *)jarg2;
2306 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2313 } catch (std::out_of_range& e) {
2315 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2317 } catch (std::exception& e) {
2319 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2321 } catch (Dali::DaliException e) {
2323 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2327 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2335 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2338 Dali::Window *argp1 ;
2339 Dali::Window::WindowSize result;
2341 argp1 = (Dali::Window *)jarg1;
2343 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2349 result = arg1.GetSize();
2350 } catch (std::out_of_range& e) {
2352 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2354 } catch (std::exception& e) {
2356 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2358 } catch (Dali::DaliException e) {
2360 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2364 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2369 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2374 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2376 Dali::Window::WindowPosition arg2 ;
2377 Dali::Window *argp1 ;
2378 Dali::Window::WindowPosition *argp2 ;
2380 argp1 = (Dali::Window *)jarg1;
2382 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2386 argp2 = (Dali::Window::WindowPosition *)jarg2;
2388 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2394 arg1.SetPosition(arg2);
2395 } catch (std::out_of_range& e) {
2397 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2399 } catch (std::exception& e) {
2401 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2403 } catch (Dali::DaliException e) {
2405 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2409 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2417 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2420 Dali::Window *argp1 ;
2421 Dali::Window::WindowPosition result;
2423 argp1 = (Dali::Window *)jarg1;
2425 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2431 result = arg1.GetPosition();
2432 } catch (std::out_of_range& e) {
2434 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2436 } catch (std::exception& e) {
2438 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2440 } catch (Dali::DaliException e) {
2442 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2446 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2451 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2455 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2458 Dali::Window *argp1 ;
2460 argp1 = (Dali::Window *)jarg1;
2462 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2466 arg2 = jarg2 ? true : false;
2469 arg1.SetTransparency(arg2);
2470 } catch (std::out_of_range& e) {
2472 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2474 } catch (std::exception& e) {
2476 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2478 } catch (Dali::DaliException e) {
2480 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2484 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2491 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2492 Dali::KeyEvent *arg1 = 0 ;
2494 arg1 = (Dali::KeyEvent *)jarg1;
2496 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2501 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
2502 } catch (std::out_of_range& e) {
2504 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2506 } catch (std::exception& e) {
2508 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2512 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2518 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2520 Dali::Adaptor::Get().RenderOnce();
2521 } catch (std::out_of_range& e) {
2523 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2525 } catch (std::exception& e) {
2527 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2531 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2536 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New_Root_Layout() {
2538 Dali::Toolkit::Control result;
2541 Dali::Toolkit::AbsoluteLayout absoluteLayout = Dali::Toolkit::AbsoluteLayout::New();
2542 result = Dali::Toolkit::Control::New();
2543 Dali::Toolkit::DevelControl::SetLayout( result, absoluteLayout );
2544 result.SetName("rootAbsoluteLayout");
2545 result.SetAnchorPoint( Dali::AnchorPoint::CENTER );
2546 result.SetParentOrigin( Dali::ParentOrigin::CENTER );
2549 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2554 jresult = new Dali::Toolkit::Control((const Dali::Toolkit::Control &)result);