1 /** Copyright (c) 2017 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.
17 #ifndef CSHARP_TEXT_EDITOR
18 #define CSHARP_TEXT_EDITOR
22 #include <dali-toolkit/public-api/controls/text-controls/text-editor.h>
23 #include <dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h>
25 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Empty(Dali::Signal< void (Dali::Toolkit::TextEditor) > const *self){
28 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Toolkit::TextEditor) > const *self){
29 return self->GetConnectionCount();
31 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Connect(Dali::Signal< void (Dali::Toolkit::TextEditor) > *self,void (*func)(Dali::Toolkit::TextEditor)){
32 self->Connect( func );
34 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Disconnect(Dali::Signal< void (Dali::Toolkit::TextEditor) > *self,void (*func)(Dali::Toolkit::TextEditor)){
35 self->Disconnect( func );
37 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Emit(Dali::Signal< void (Dali::Toolkit::TextEditor) > *self,Dali::Toolkit::TextEditor arg){
41 SWIGINTERN bool Dali_Signal_void_TextEditor_Scroll_Type__Empty(Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > const *self){
44 SWIGINTERN std::size_t Dali_Signal_void_TextEditor_Scroll_Type__GetConnectionCount(Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > const *self){
45 return self->GetConnectionCount();
47 SWIGINTERN void Dali_Signal_void_TextEditor_Scroll_Type__Connect(Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *self,void (*func)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type)){
48 self->Connect( func );
50 SWIGINTERN void Dali_Signal_void_TextEditor_Scroll_Type__Disconnect(Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *self,void (*func)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type)){
51 self->Disconnect( func );
53 SWIGINTERN void Dali_Signal_void_TextEditor_Scroll_Type__Emit(Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *self,Dali::Toolkit::TextEditor arg1,Dali::Toolkit::TextEditor::Scroll::Type arg2){
54 self->Emit( arg1, arg2 );
61 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_TextEditor_SWIGUpcast(Dali::Toolkit::TextEditor *jarg1) {
62 return (Dali::Toolkit::Control *)jarg1;
65 /*TextEditor Property binding*/
66 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_RENDERING_BACKEND_get() {
70 result = (int)Dali::Toolkit::TextEditor::Property::RENDERING_BACKEND;
71 jresult = (int)result;
76 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_TEXT_get() {
80 result = (int)Dali::Toolkit::TextEditor::Property::TEXT;
81 jresult = (int)result;
86 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_TEXT_COLOR_get() {
90 result = (int)Dali::Toolkit::TextEditor::Property::TEXT_COLOR;
91 jresult = (int)result;
96 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_FONT_FAMILY_get() {
100 result = (int)Dali::Toolkit::TextEditor::Property::FONT_FAMILY;
101 jresult = (int)result;
106 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_FONT_STYLE_get() {
110 result = (int)Dali::Toolkit::TextEditor::Property::FONT_STYLE;
111 jresult = (int)result;
116 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_POINT_SIZE_get() {
120 result = (int)Dali::Toolkit::TextEditor::Property::POINT_SIZE;
121 jresult = (int)result;
126 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_HORIZONTAL_ALIGNMENT_get() {
130 result = (int)Dali::Toolkit::TextEditor::Property::HORIZONTAL_ALIGNMENT;
131 jresult = (int)result;
136 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SCROLL_THRESHOLD_get() {
140 result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_THRESHOLD;
141 jresult = (int)result;
146 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SCROLL_SPEED_get() {
150 result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_SPEED;
151 jresult = (int)result;
156 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_PRIMARY_CURSOR_COLOR_get() {
160 result = (int)Dali::Toolkit::TextEditor::Property::PRIMARY_CURSOR_COLOR;
161 jresult = (int)result;
166 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SECONDARY_CURSOR_COLOR_get() {
170 result = (int)Dali::Toolkit::TextEditor::Property::SECONDARY_CURSOR_COLOR;
171 jresult = (int)result;
176 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_ENABLE_CURSOR_BLINK_get() {
180 result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_CURSOR_BLINK;
181 jresult = (int)result;
186 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_CURSOR_BLINK_INTERVAL_get() {
190 result = (int)Dali::Toolkit::TextEditor::Property::CURSOR_BLINK_INTERVAL;
191 jresult = (int)result;
196 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_CURSOR_BLINK_DURATION_get() {
200 result = (int)Dali::Toolkit::TextEditor::Property::CURSOR_BLINK_DURATION;
201 jresult = (int)result;
206 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_CURSOR_WIDTH_get() {
210 result = (int)Dali::Toolkit::TextEditor::Property::CURSOR_WIDTH;
211 jresult = (int)result;
216 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_GRAB_HANDLE_IMAGE_get() {
220 result = (int)Dali::Toolkit::TextEditor::Property::GRAB_HANDLE_IMAGE;
221 jresult = (int)result;
226 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get() {
230 result = (int)Dali::Toolkit::TextEditor::Property::GRAB_HANDLE_PRESSED_IMAGE;
231 jresult = (int)result;
236 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get() {
240 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_IMAGE_LEFT;
241 jresult = (int)result;
246 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get() {
250 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_IMAGE_RIGHT;
251 jresult = (int)result;
256 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get() {
260 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_PRESSED_IMAGE_LEFT;
261 jresult = (int)result;
266 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get() {
270 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_PRESSED_IMAGE_RIGHT;
271 jresult = (int)result;
276 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get() {
280 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_MARKER_IMAGE_LEFT;
281 jresult = (int)result;
286 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get() {
290 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_MARKER_IMAGE_RIGHT;
291 jresult = (int)result;
296 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get() {
300 result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HIGHLIGHT_COLOR;
301 jresult = (int)result;
306 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_DECORATION_BOUNDING_BOX_get() {
310 result = (int)Dali::Toolkit::TextEditor::Property::DECORATION_BOUNDING_BOX;
311 jresult = (int)result;
316 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_ENABLE_MARKUP_get() {
320 result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_MARKUP;
321 jresult = (int)result;
326 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_COLOR_get() {
330 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_COLOR;
331 jresult = (int)result;
336 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_FONT_FAMILY_get() {
340 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_FONT_FAMILY;
341 jresult = (int)result;
346 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_FONT_STYLE_get() {
350 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_FONT_STYLE;
351 jresult = (int)result;
356 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_POINT_SIZE_get() {
360 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_POINT_SIZE;
361 jresult = (int)result;
366 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_LINE_SPACING_get() {
370 result = (int)Dali::Toolkit::TextEditor::Property::LINE_SPACING;
371 jresult = (int)result;
376 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_LINE_SPACING_get() {
380 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_LINE_SPACING;
381 jresult = (int)result;
386 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_UNDERLINE_get() {
390 result = (int)Dali::Toolkit::TextEditor::Property::UNDERLINE;
391 jresult = (int)result;
396 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_UNDERLINE_get() {
400 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_UNDERLINE;
401 jresult = (int)result;
406 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SHADOW_get() {
410 result = (int)Dali::Toolkit::TextEditor::Property::SHADOW;
411 jresult = (int)result;
416 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_SHADOW_get() {
420 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_SHADOW;
421 jresult = (int)result;
426 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_EMBOSS_get() {
430 result = (int)Dali::Toolkit::TextEditor::Property::EMBOSS;
431 jresult = (int)result;
436 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_EMBOSS_get() {
440 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_EMBOSS;
441 jresult = (int)result;
446 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_OUTLINE_get() {
450 result = (int)Dali::Toolkit::TextEditor::Property::OUTLINE;
451 jresult = (int)result;
456 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_OUTLINE_get() {
460 result = (int)Dali::Toolkit::TextEditor::Property::INPUT_OUTLINE;
461 jresult = (int)result;
465 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SMOOTH_SCROLL_get() {
469 result = (int)Dali::Toolkit::TextEditor::Property::SMOOTH_SCROLL;
470 jresult = (int)result;
474 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SMOOTH_SCROLL_DURATION_get() {
478 result = (int)Dali::Toolkit::TextEditor::Property::SMOOTH_SCROLL_DURATION;
479 jresult = (int)result;
483 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ENABLE_SCROLL_BAR_get() {
487 result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_SCROLL_BAR;
488 jresult = (int)result;
492 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get() {
496 result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_BAR_SHOW_DURATION;
497 jresult = (int)result;
501 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SCROLL_BAR_FADE_DURATION_get() {
505 result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_BAR_FADE_DURATION;
506 jresult = (int)result;
510 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PIXEL_SIZE_get() {
514 result = (int)Dali::Toolkit::TextEditor::Property::PIXEL_SIZE;
515 jresult = (int)result;
519 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_COUNT_get() {
523 result = (int)Dali::Toolkit::TextEditor::Property::LINE_COUNT;
524 jresult = (int)result;
528 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_TEXT_get() {
532 result = (int)Dali::Toolkit::DevelTextEditor::Property::PLACEHOLDER_TEXT;
533 jresult = (int)result;
537 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_TEXT_COLOR_get() {
541 result = (int)Dali::Toolkit::DevelTextEditor::Property::PLACEHOLDER_TEXT_COLOR;
542 jresult = (int)result;
546 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ENABLE_SELECTION_get() {
550 result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_SELECTION;
551 jresult = (int)result;
555 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_get() {
559 result = (int)Dali::Toolkit::TextEditor::Property::PLACEHOLDER;
560 jresult = (int)result;
565 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor_Property() {
567 Dali::Toolkit::TextEditor::Property *result = 0 ;
571 result = (Dali::Toolkit::TextEditor::Property *)new Dali::Toolkit::TextEditor::Property();
572 } catch (std::out_of_range& e) {
574 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
576 } catch (std::exception& e) {
578 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
580 } catch (Dali::DaliException e) {
582 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
586 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
591 jresult = (void *)result;
596 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditor_Property(void * jarg1) {
597 Dali::Toolkit::TextEditor::Property *arg1 = (Dali::Toolkit::TextEditor::Property *) 0 ;
599 arg1 = (Dali::Toolkit::TextEditor::Property *)jarg1;
603 } catch (std::out_of_range& e) {
605 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
607 } catch (std::exception& e) {
609 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
611 } catch (Dali::DaliException e) {
613 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
617 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
625 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor_InputStyle() {
627 Dali::Toolkit::TextEditor::InputStyle *result = 0 ;
631 result = (Dali::Toolkit::TextEditor::InputStyle *)new Dali::Toolkit::TextEditor::InputStyle();
632 } catch (std::out_of_range& e) {
634 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
636 } catch (std::exception& e) {
638 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
640 } catch (Dali::DaliException e) {
642 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
646 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
651 jresult = (void *)result;
656 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditor_InputStyle(void * jarg1) {
657 Dali::Toolkit::TextEditor::InputStyle *arg1 = (Dali::Toolkit::TextEditor::InputStyle *) 0 ;
659 arg1 = (Dali::Toolkit::TextEditor::InputStyle *)jarg1;
663 } catch (std::out_of_range& e) {
665 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
667 } catch (std::exception& e) {
669 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
671 } catch (Dali::DaliException e) {
673 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
677 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
685 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_New() {
687 Dali::Toolkit::TextEditor result;
691 result = Dali::Toolkit::TextEditor::New();
692 } catch (std::out_of_range& e) {
694 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
696 } catch (std::exception& e) {
698 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
700 } catch (Dali::DaliException e) {
702 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
706 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
711 jresult = new Dali::Toolkit::TextEditor((const Dali::Toolkit::TextEditor &)result);
716 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor__SWIG_0() {
718 Dali::Toolkit::TextEditor *result = 0 ;
722 result = (Dali::Toolkit::TextEditor *)new Dali::Toolkit::TextEditor();
723 } catch (std::out_of_range& e) {
725 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
727 } catch (std::exception& e) {
729 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
731 } catch (Dali::DaliException e) {
733 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
737 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
742 jresult = (void *)result;
747 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor__SWIG_1(void * jarg1) {
749 Dali::Toolkit::TextEditor *arg1 = 0 ;
750 Dali::Toolkit::TextEditor *result = 0 ;
752 arg1 = (Dali::Toolkit::TextEditor *)jarg1;
754 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TextEditor const & type is null", 0);
759 result = (Dali::Toolkit::TextEditor *)new Dali::Toolkit::TextEditor((Dali::Toolkit::TextEditor const &)*arg1);
760 } catch (std::out_of_range& e) {
762 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
764 } catch (std::exception& e) {
766 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
768 } catch (Dali::DaliException e) {
770 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
774 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
779 jresult = (void *)result;
784 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_Assign(void * jarg1, void * jarg2) {
786 Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
787 Dali::Toolkit::TextEditor *arg2 = 0 ;
788 Dali::Toolkit::TextEditor *result = 0 ;
790 arg1 = (Dali::Toolkit::TextEditor *)jarg1;
791 arg2 = (Dali::Toolkit::TextEditor *)jarg2;
793 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TextEditor const & type is null", 0);
798 result = (Dali::Toolkit::TextEditor *) &(arg1)->operator =((Dali::Toolkit::TextEditor const &)*arg2);
799 } catch (std::out_of_range& e) {
801 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
803 } catch (std::exception& e) {
805 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
807 } catch (Dali::DaliException e) {
809 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
813 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
818 jresult = (void *)result;
823 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditor(void * jarg1) {
824 Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
826 arg1 = (Dali::Toolkit::TextEditor *)jarg1;
830 } catch (std::out_of_range& e) {
832 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
834 } catch (std::exception& e) {
836 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
838 } catch (Dali::DaliException e) {
840 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
844 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
852 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_DownCast(void * jarg1) {
854 Dali::BaseHandle arg1 ;
855 Dali::BaseHandle *argp1 ;
856 Dali::Toolkit::TextEditor result;
858 argp1 = (Dali::BaseHandle *)jarg1;
860 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
866 result = Dali::Toolkit::TextEditor::DownCast(arg1);
867 } catch (std::out_of_range& e) {
869 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
871 } catch (std::exception& e) {
873 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
875 } catch (Dali::DaliException e) {
877 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
881 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
886 jresult = new Dali::Toolkit::TextEditor((const Dali::Toolkit::TextEditor &)result);
891 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_TextChangedSignal(void * jarg1) {
893 Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
894 Dali::Toolkit::TextEditor::TextChangedSignalType *result = 0 ;
896 arg1 = (Dali::Toolkit::TextEditor *)jarg1;
899 result = (Dali::Toolkit::TextEditor::TextChangedSignalType *) &(arg1)->TextChangedSignal();
900 } catch (std::out_of_range& e) {
902 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
904 } catch (std::exception& e) {
906 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
908 } catch (Dali::DaliException e) {
910 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
914 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
919 jresult = (void *)result;
924 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_InputStyleChangedSignal(void * jarg1) {
926 Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
927 Dali::Toolkit::TextEditor::InputStyleChangedSignalType *result = 0 ;
929 arg1 = (Dali::Toolkit::TextEditor *)jarg1;
932 result = (Dali::Toolkit::TextEditor::InputStyleChangedSignalType *) &(arg1)->InputStyleChangedSignal();
933 } catch (std::out_of_range& e) {
935 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
937 } catch (std::exception& e) {
939 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
941 } catch (Dali::DaliException e) {
943 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
947 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
952 jresult = (void *)result;
957 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TextEditorSignal_Empty(void * jarg1) {
958 unsigned int jresult ;
959 Dali::Signal< void (Dali::Toolkit::TextEditor) > *arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *) 0 ;
962 arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
965 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Empty((Dali::Signal< void (Dali::Toolkit::TextEditor) > const *)arg1);
966 } catch (std::out_of_range& e) {
968 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
970 } catch (std::exception& e) {
972 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
974 } catch (Dali::DaliException e) {
976 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
980 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
990 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_TextEditorSignal_GetConnectionCount(void * jarg1) {
991 unsigned long jresult ;
992 Dali::Signal< void (Dali::Toolkit::TextEditor) > *arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *) 0 ;
995 arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
998 result = Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Toolkit::TextEditor) > const *)arg1);
999 } catch (std::out_of_range& e) {
1001 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1003 } catch (std::exception& e) {
1005 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1007 } catch (Dali::DaliException e) {
1009 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1013 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1018 jresult = (unsigned long)result;
1023 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TextEditorSignal_Connect(void * jarg1, void * jarg2) {
1024 Dali::Signal< void (Dali::Toolkit::TextEditor) > *arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *) 0 ;
1025 void (*arg2)(Dali::Toolkit::TextEditor) = (void (*)(Dali::Toolkit::TextEditor)) 0 ;
1027 arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1028 arg2 = (void (*)(Dali::Toolkit::TextEditor))jarg2;
1031 Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Connect(arg1,arg2);
1032 } catch (std::out_of_range& e) {
1034 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1036 } catch (std::exception& e) {
1038 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1040 } catch (Dali::DaliException e) {
1042 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1046 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1054 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TextEditorSignal_Disconnect(void * jarg1, void * jarg2) {
1055 Dali::Signal< void (Dali::Toolkit::TextEditor) > *arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *) 0 ;
1056 void (*arg2)(Dali::Toolkit::TextEditor) = (void (*)(Dali::Toolkit::TextEditor)) 0 ;
1058 arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1059 arg2 = (void (*)(Dali::Toolkit::TextEditor))jarg2;
1062 Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Disconnect(arg1,arg2);
1063 } catch (std::out_of_range& e) {
1065 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1067 } catch (std::exception& e) {
1069 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1071 } catch (Dali::DaliException e) {
1073 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1077 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1085 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_TextEditorSignal_Emit(void * jarg1, void * jarg2) {
1086 Dali::Signal< void (Dali::Toolkit::TextEditor) > *arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *) 0 ;
1087 Dali::Toolkit::TextEditor arg2 ;
1088 Dali::Toolkit::TextEditor *argp2 ;
1090 arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1091 argp2 = (Dali::Toolkit::TextEditor *)jarg2;
1093 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::TextEditor", 0);
1099 Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Emit(arg1,arg2);
1100 } catch (std::out_of_range& e) {
1102 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1104 } catch (std::exception& e) {
1106 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1108 } catch (Dali::DaliException e) {
1110 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1114 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1122 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditorSignal() {
1124 Dali::Signal< void (Dali::Toolkit::TextEditor) > *result = 0 ;
1128 result = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)new Dali::Signal< void (Dali::Toolkit::TextEditor) >();
1129 } catch (std::out_of_range& e) {
1131 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1133 } catch (std::exception& e) {
1135 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1137 } catch (Dali::DaliException e) {
1139 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1143 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1148 jresult = (void *)result;
1153 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditorSignal(void * jarg1) {
1154 Dali::Signal< void (Dali::Toolkit::TextEditor) > *arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *) 0 ;
1156 arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1160 } catch (std::out_of_range& e) {
1162 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1164 } catch (std::exception& e) {
1166 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1168 } catch (Dali::DaliException e) {
1170 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1174 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1181 /*ScrollStateChangedSignal*/
1182 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_ScrollStateChangedSignal(void * jarg1) {
1184 Dali::Toolkit::TextEditor *arg1 = 0 ;
1185 Dali::Toolkit::TextEditor::ScrollStateChangedSignalType *result = 0 ;
1187 arg1 = (Dali::Toolkit::TextEditor *)jarg1;
1189 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TextEditor & type is null", 0);
1194 result = (Dali::Toolkit::TextEditor::ScrollStateChangedSignalType *) &arg1->ScrollStateChangedSignal();
1195 } catch (std::out_of_range& e) {
1197 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1199 } catch (std::exception& e) {
1201 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1203 } catch (Dali::DaliException e) {
1205 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1209 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1214 jresult = (void *)result;
1218 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ScrollStateChangedSignal_Empty(void * jarg1) {
1219 unsigned int jresult ;
1220 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *) 0 ;
1223 arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1226 result = (bool)Dali_Signal_void_TextEditor_Scroll_Type__Empty((Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > const *)arg1);
1227 } catch (std::out_of_range& e) {
1229 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1231 } catch (std::exception& e) {
1233 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1235 } catch (Dali::DaliException e) {
1237 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1241 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1251 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ScrollStateChangedSignal_GetConnectionCount(void * jarg1) {
1252 unsigned long jresult ;
1253 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *) 0 ;
1256 arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1259 result = Dali_Signal_void_TextEditor_Scroll_Type__GetConnectionCount((Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > const *)arg1);
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;
1279 jresult = (unsigned long)result;
1284 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ScrollStateChangedSignal_Connect(void * jarg1, void * jarg2) {
1285 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *) 0 ;
1286 void (*arg2)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type) = (void (*)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type)) 0 ;
1288 arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1289 arg2 = (void (*)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type))jarg2;
1292 Dali_Signal_void_TextEditor_Scroll_Type__Connect(arg1,arg2);
1293 } catch (std::out_of_range& e) {
1295 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1297 } catch (std::exception& e) {
1299 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1301 } catch (Dali::DaliException e) {
1303 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1307 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1315 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ScrollStateChangedSignal_Disconnect(void * jarg1, void * jarg2) {
1316 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *) 0 ;
1317 void (*arg2)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type) = (void (*)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type)) 0 ;
1319 arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1320 arg2 = (void (*)(Dali::Toolkit::TextEditor,Dali::Toolkit::TextEditor::Scroll::Type))jarg2;
1323 Dali_Signal_void_TextEditor_Scroll_Type__Disconnect(arg1,arg2);
1324 } catch (std::out_of_range& e) {
1326 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1328 } catch (std::exception& e) {
1330 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1332 } catch (Dali::DaliException e) {
1334 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1338 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1346 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ScrollStateChangedSignal_Emit(void * jarg1, void * jarg2, int jarg3) {
1347 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *) 0 ;
1348 Dali::Toolkit::TextEditor arg2 ;
1349 Dali::Toolkit::TextEditor::Scroll::Type arg3;
1350 Dali::Toolkit::TextEditor *argp2 ;
1352 arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1353 argp2 = (Dali::Toolkit::TextEditor *)jarg2;
1354 arg3 = (Dali::Toolkit::TextEditor::Scroll::Type)jarg3;
1356 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::TextEditor", 0);
1362 Dali_Signal_void_TextEditor_Scroll_Type__Emit(arg1,arg2,arg3);
1363 } catch (std::out_of_range& e) {
1365 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1367 } catch (std::exception& e) {
1369 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1371 } catch (Dali::DaliException e) {
1373 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1377 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1385 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ScrollStateChangedSignal() {
1387 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *result = 0 ;
1391 result = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)new Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) >();
1392 } catch (std::out_of_range& e) {
1394 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1396 } catch (std::exception& e) {
1398 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1400 } catch (Dali::DaliException e) {
1402 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1406 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1411 jresult = (void *)result;
1416 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ScrollStateChangedSignal(void * jarg1) {
1417 Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *) 0 ;
1419 arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1423 } catch (std::out_of_range& e) {
1425 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1427 } catch (std::exception& e) {
1429 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1431 } catch (Dali::DaliException e) {
1433 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1437 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;