Support legacy way to create InputMethodContext
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / text-editor.cpp
1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 *
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
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
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.
14 *
15 */
16
17 #ifndef CSHARP_TEXT_EDITOR
18 #define CSHARP_TEXT_EDITOR
19 #endif
20
21 #include "common.h"
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>
24
25 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Empty(Dali::Signal< void (Dali::Toolkit::TextEditor) > const *self){
26   return self->Empty();
27 }
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();
30 }
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 );
33 }
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 );
36 }
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){
38   self->Emit( arg );
39 }
40
41 SWIGINTERN bool Dali_Signal_void_TextEditor_Scroll_Type__Empty(Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > const *self){
42   return self->Empty();
43 }
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();
46 }
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 );
49 }
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 );
52 }
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 );
55 }
56
57 #ifdef __cplusplus
58 extern "C" {
59 #endif
60
61 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_TextEditor_SWIGUpcast(Dali::Toolkit::TextEditor *jarg1) {
62     return (Dali::Toolkit::Control *)jarg1;
63 }
64
65 /*TextEditor Property binding*/
66 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_RENDERING_BACKEND_get() {
67   int jresult ;
68   int result;
69
70   result = (int)Dali::Toolkit::TextEditor::Property::RENDERING_BACKEND;
71   jresult = (int)result;
72   return jresult;
73 }
74
75
76 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_TEXT_get() {
77   int jresult ;
78   int result;
79
80   result = (int)Dali::Toolkit::TextEditor::Property::TEXT;
81   jresult = (int)result;
82   return jresult;
83 }
84
85
86 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_TEXT_COLOR_get() {
87   int jresult ;
88   int result;
89
90   result = (int)Dali::Toolkit::TextEditor::Property::TEXT_COLOR;
91   jresult = (int)result;
92   return jresult;
93 }
94
95
96 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_FONT_FAMILY_get() {
97   int jresult ;
98   int result;
99
100   result = (int)Dali::Toolkit::TextEditor::Property::FONT_FAMILY;
101   jresult = (int)result;
102   return jresult;
103 }
104
105
106 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_FONT_STYLE_get() {
107   int jresult ;
108   int result;
109
110   result = (int)Dali::Toolkit::TextEditor::Property::FONT_STYLE;
111   jresult = (int)result;
112   return jresult;
113 }
114
115
116 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_POINT_SIZE_get() {
117   int jresult ;
118   int result;
119
120   result = (int)Dali::Toolkit::TextEditor::Property::POINT_SIZE;
121   jresult = (int)result;
122   return jresult;
123 }
124
125
126 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_HORIZONTAL_ALIGNMENT_get() {
127   int jresult ;
128   int result;
129
130   result = (int)Dali::Toolkit::TextEditor::Property::HORIZONTAL_ALIGNMENT;
131   jresult = (int)result;
132   return jresult;
133 }
134
135
136 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SCROLL_THRESHOLD_get() {
137   int jresult ;
138   int result;
139
140   result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_THRESHOLD;
141   jresult = (int)result;
142   return jresult;
143 }
144
145
146 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SCROLL_SPEED_get() {
147   int jresult ;
148   int result;
149
150   result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_SPEED;
151   jresult = (int)result;
152   return jresult;
153 }
154
155
156 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_PRIMARY_CURSOR_COLOR_get() {
157   int jresult ;
158   int result;
159
160   result = (int)Dali::Toolkit::TextEditor::Property::PRIMARY_CURSOR_COLOR;
161   jresult = (int)result;
162   return jresult;
163 }
164
165
166 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SECONDARY_CURSOR_COLOR_get() {
167   int jresult ;
168   int result;
169
170   result = (int)Dali::Toolkit::TextEditor::Property::SECONDARY_CURSOR_COLOR;
171   jresult = (int)result;
172   return jresult;
173 }
174
175
176 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_ENABLE_CURSOR_BLINK_get() {
177   int jresult ;
178   int result;
179
180   result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_CURSOR_BLINK;
181   jresult = (int)result;
182   return jresult;
183 }
184
185
186 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_CURSOR_BLINK_INTERVAL_get() {
187   int jresult ;
188   int result;
189
190   result = (int)Dali::Toolkit::TextEditor::Property::CURSOR_BLINK_INTERVAL;
191   jresult = (int)result;
192   return jresult;
193 }
194
195
196 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_CURSOR_BLINK_DURATION_get() {
197   int jresult ;
198   int result;
199
200   result = (int)Dali::Toolkit::TextEditor::Property::CURSOR_BLINK_DURATION;
201   jresult = (int)result;
202   return jresult;
203 }
204
205
206 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_CURSOR_WIDTH_get() {
207   int jresult ;
208   int result;
209
210   result = (int)Dali::Toolkit::TextEditor::Property::CURSOR_WIDTH;
211   jresult = (int)result;
212   return jresult;
213 }
214
215
216 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_GRAB_HANDLE_IMAGE_get() {
217   int jresult ;
218   int result;
219
220   result = (int)Dali::Toolkit::TextEditor::Property::GRAB_HANDLE_IMAGE;
221   jresult = (int)result;
222   return jresult;
223 }
224
225
226 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get() {
227   int jresult ;
228   int result;
229
230   result = (int)Dali::Toolkit::TextEditor::Property::GRAB_HANDLE_PRESSED_IMAGE;
231   jresult = (int)result;
232   return jresult;
233 }
234
235
236 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get() {
237   int jresult ;
238   int result;
239
240   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_IMAGE_LEFT;
241   jresult = (int)result;
242   return jresult;
243 }
244
245
246 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get() {
247   int jresult ;
248   int result;
249
250   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_IMAGE_RIGHT;
251   jresult = (int)result;
252   return jresult;
253 }
254
255
256 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get() {
257   int jresult ;
258   int result;
259
260   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_PRESSED_IMAGE_LEFT;
261   jresult = (int)result;
262   return jresult;
263 }
264
265
266 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get() {
267   int jresult ;
268   int result;
269
270   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_PRESSED_IMAGE_RIGHT;
271   jresult = (int)result;
272   return jresult;
273 }
274
275
276 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get() {
277   int jresult ;
278   int result;
279
280   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_MARKER_IMAGE_LEFT;
281   jresult = (int)result;
282   return jresult;
283 }
284
285
286 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get() {
287   int jresult ;
288   int result;
289
290   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HANDLE_MARKER_IMAGE_RIGHT;
291   jresult = (int)result;
292   return jresult;
293 }
294
295
296 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get() {
297   int jresult ;
298   int result;
299
300   result = (int)Dali::Toolkit::TextEditor::Property::SELECTION_HIGHLIGHT_COLOR;
301   jresult = (int)result;
302   return jresult;
303 }
304
305
306 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_DECORATION_BOUNDING_BOX_get() {
307   int jresult ;
308   int result;
309
310   result = (int)Dali::Toolkit::TextEditor::Property::DECORATION_BOUNDING_BOX;
311   jresult = (int)result;
312   return jresult;
313 }
314
315
316 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_ENABLE_MARKUP_get() {
317   int jresult ;
318   int result;
319
320   result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_MARKUP;
321   jresult = (int)result;
322   return jresult;
323 }
324
325
326 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_COLOR_get() {
327   int jresult ;
328   int result;
329
330   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_COLOR;
331   jresult = (int)result;
332   return jresult;
333 }
334
335
336 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_FONT_FAMILY_get() {
337   int jresult ;
338   int result;
339
340   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_FONT_FAMILY;
341   jresult = (int)result;
342   return jresult;
343 }
344
345
346 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_FONT_STYLE_get() {
347   int jresult ;
348   int result;
349
350   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_FONT_STYLE;
351   jresult = (int)result;
352   return jresult;
353 }
354
355
356 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_POINT_SIZE_get() {
357   int jresult ;
358   int result;
359
360   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_POINT_SIZE;
361   jresult = (int)result;
362   return jresult;
363 }
364
365
366 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_LINE_SPACING_get() {
367   int jresult ;
368   int result;
369
370   result = (int)Dali::Toolkit::TextEditor::Property::LINE_SPACING;
371   jresult = (int)result;
372   return jresult;
373 }
374
375
376 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_LINE_SPACING_get() {
377   int jresult ;
378   int result;
379
380   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_LINE_SPACING;
381   jresult = (int)result;
382   return jresult;
383 }
384
385
386 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_UNDERLINE_get() {
387   int jresult ;
388   int result;
389
390   result = (int)Dali::Toolkit::TextEditor::Property::UNDERLINE;
391   jresult = (int)result;
392   return jresult;
393 }
394
395
396 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_UNDERLINE_get() {
397   int jresult ;
398   int result;
399
400   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_UNDERLINE;
401   jresult = (int)result;
402   return jresult;
403 }
404
405
406 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_SHADOW_get() {
407   int jresult ;
408   int result;
409
410   result = (int)Dali::Toolkit::TextEditor::Property::SHADOW;
411   jresult = (int)result;
412   return jresult;
413 }
414
415
416 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_SHADOW_get() {
417   int jresult ;
418   int result;
419
420   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_SHADOW;
421   jresult = (int)result;
422   return jresult;
423 }
424
425
426 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_EMBOSS_get() {
427   int jresult ;
428   int result;
429
430   result = (int)Dali::Toolkit::TextEditor::Property::EMBOSS;
431   jresult = (int)result;
432   return jresult;
433 }
434
435
436 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_EMBOSS_get() {
437   int jresult ;
438   int result;
439
440   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_EMBOSS;
441   jresult = (int)result;
442   return jresult;
443 }
444
445
446 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_OUTLINE_get() {
447   int jresult ;
448   int result;
449
450   result = (int)Dali::Toolkit::TextEditor::Property::OUTLINE;
451   jresult = (int)result;
452   return jresult;
453 }
454
455
456 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_INPUT_OUTLINE_get() {
457   int jresult ;
458   int result;
459
460   result = (int)Dali::Toolkit::TextEditor::Property::INPUT_OUTLINE;
461   jresult = (int)result;
462   return jresult;
463 }
464
465 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SMOOTH_SCROLL_get() {
466   int jresult ;
467   int result;
468
469   result = (int)Dali::Toolkit::TextEditor::Property::SMOOTH_SCROLL;
470   jresult = (int)result;
471   return jresult;
472 }
473
474 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SMOOTH_SCROLL_DURATION_get() {
475   int jresult ;
476   int result;
477
478   result = (int)Dali::Toolkit::TextEditor::Property::SMOOTH_SCROLL_DURATION;
479   jresult = (int)result;
480   return jresult;
481 }
482
483 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ENABLE_SCROLL_BAR_get() {
484   int jresult ;
485   int result;
486
487   result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_SCROLL_BAR;
488   jresult = (int)result;
489   return jresult;
490 }
491
492 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get() {
493   int jresult ;
494   int result;
495
496   result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_BAR_SHOW_DURATION;
497   jresult = (int)result;
498   return jresult;
499 }
500
501 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_SCROLL_BAR_FADE_DURATION_get() {
502   int jresult ;
503   int result;
504
505   result = (int)Dali::Toolkit::TextEditor::Property::SCROLL_BAR_FADE_DURATION;
506   jresult = (int)result;
507   return jresult;
508 }
509
510 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PIXEL_SIZE_get() {
511   int jresult ;
512   int result;
513
514   result = (int)Dali::Toolkit::TextEditor::Property::PIXEL_SIZE;
515   jresult = (int)result;
516   return jresult;
517 }
518
519 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_COUNT_get() {
520   int jresult ;
521   int result;
522
523   result = (int)Dali::Toolkit::TextEditor::Property::LINE_COUNT;
524   jresult = (int)result;
525   return jresult;
526 }
527
528 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_TEXT_get() {
529   int jresult ;
530   int result;
531
532   result = (int)Dali::Toolkit::DevelTextEditor::Property::PLACEHOLDER_TEXT;
533   jresult = (int)result;
534   return jresult;
535 }
536
537 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_TEXT_COLOR_get() {
538   int jresult ;
539   int result;
540
541   result = (int)Dali::Toolkit::DevelTextEditor::Property::PLACEHOLDER_TEXT_COLOR;
542   jresult = (int)result;
543   return jresult;
544 }
545
546 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ENABLE_SELECTION_get() {
547   int jresult ;
548   int result;
549
550   result = (int)Dali::Toolkit::TextEditor::Property::ENABLE_SELECTION;
551   jresult = (int)result;
552   return jresult;
553 }
554
555 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_get() {
556   int jresult ;
557   int result;
558
559   result = (int)Dali::Toolkit::TextEditor::Property::PLACEHOLDER;
560   jresult = (int)result;
561   return jresult;
562 }
563
564
565 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor_Property() {
566   void * jresult ;
567   Dali::Toolkit::TextEditor::Property *result = 0 ;
568
569   {
570     try {
571       result = (Dali::Toolkit::TextEditor::Property *)new Dali::Toolkit::TextEditor::Property();
572     } catch (std::out_of_range& e) {
573       {
574         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
575       };
576     } catch (std::exception& e) {
577       {
578         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
579       };
580     } catch (Dali::DaliException e) {
581       {
582         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
583       };
584     } catch (...) {
585       {
586         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
587       };
588     }
589   }
590
591   jresult = (void *)result;
592   return jresult;
593 }
594
595
596 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditor_Property(void * jarg1) {
597   Dali::Toolkit::TextEditor::Property *arg1 = (Dali::Toolkit::TextEditor::Property *) 0 ;
598
599   arg1 = (Dali::Toolkit::TextEditor::Property *)jarg1;
600   {
601     try {
602       delete arg1;
603     } catch (std::out_of_range& e) {
604       {
605         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
606       };
607     } catch (std::exception& e) {
608       {
609         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
610       };
611     } catch (Dali::DaliException e) {
612       {
613         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
614       };
615     } catch (...) {
616       {
617         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
618       };
619     }
620   }
621
622 }
623
624
625 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor_InputStyle() {
626   void * jresult ;
627   Dali::Toolkit::TextEditor::InputStyle *result = 0 ;
628
629   {
630     try {
631       result = (Dali::Toolkit::TextEditor::InputStyle *)new Dali::Toolkit::TextEditor::InputStyle();
632     } catch (std::out_of_range& e) {
633       {
634         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
635       };
636     } catch (std::exception& e) {
637       {
638         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
639       };
640     } catch (Dali::DaliException e) {
641       {
642         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
643       };
644     } catch (...) {
645       {
646         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
647       };
648     }
649   }
650
651   jresult = (void *)result;
652   return jresult;
653 }
654
655
656 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditor_InputStyle(void * jarg1) {
657   Dali::Toolkit::TextEditor::InputStyle *arg1 = (Dali::Toolkit::TextEditor::InputStyle *) 0 ;
658
659   arg1 = (Dali::Toolkit::TextEditor::InputStyle *)jarg1;
660   {
661     try {
662       delete arg1;
663     } catch (std::out_of_range& e) {
664       {
665         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
666       };
667     } catch (std::exception& e) {
668       {
669         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
670       };
671     } catch (Dali::DaliException e) {
672       {
673         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
674       };
675     } catch (...) {
676       {
677         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
678       };
679     }
680   }
681
682 }
683
684
685 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_New() {
686   void * jresult ;
687   Dali::Toolkit::TextEditor result;
688
689   {
690     try {
691       result = Dali::Toolkit::TextEditor::New();
692     } catch (std::out_of_range& e) {
693       {
694         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
695       };
696     } catch (std::exception& e) {
697       {
698         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
699       };
700     } catch (Dali::DaliException e) {
701       {
702         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
703       };
704     } catch (...) {
705       {
706         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
707       };
708     }
709   }
710
711   jresult = new Dali::Toolkit::TextEditor((const Dali::Toolkit::TextEditor &)result);
712   return jresult;
713 }
714
715
716 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor__SWIG_0() {
717   void * jresult ;
718   Dali::Toolkit::TextEditor *result = 0 ;
719
720   {
721     try {
722       result = (Dali::Toolkit::TextEditor *)new Dali::Toolkit::TextEditor();
723     } catch (std::out_of_range& e) {
724       {
725         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
726       };
727     } catch (std::exception& e) {
728       {
729         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
730       };
731     } catch (Dali::DaliException e) {
732       {
733         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
734       };
735     } catch (...) {
736       {
737         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
738       };
739     }
740   }
741
742   jresult = (void *)result;
743   return jresult;
744 }
745
746
747 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor__SWIG_1(void * jarg1) {
748   void * jresult ;
749   Dali::Toolkit::TextEditor *arg1 = 0 ;
750   Dali::Toolkit::TextEditor *result = 0 ;
751
752   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
753   if (!arg1) {
754     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TextEditor const & type is null", 0);
755     return 0;
756   }
757   {
758     try {
759       result = (Dali::Toolkit::TextEditor *)new Dali::Toolkit::TextEditor((Dali::Toolkit::TextEditor const &)*arg1);
760     } catch (std::out_of_range& e) {
761       {
762         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
763       };
764     } catch (std::exception& e) {
765       {
766         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
767       };
768     } catch (Dali::DaliException e) {
769       {
770         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
771       };
772     } catch (...) {
773       {
774         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
775       };
776     }
777   }
778
779   jresult = (void *)result;
780   return jresult;
781 }
782
783
784 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_Assign(void * jarg1, void * jarg2) {
785   void * jresult ;
786   Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
787   Dali::Toolkit::TextEditor *arg2 = 0 ;
788   Dali::Toolkit::TextEditor *result = 0 ;
789
790   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
791   arg2 = (Dali::Toolkit::TextEditor *)jarg2;
792   if (!arg2) {
793     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TextEditor const & type is null", 0);
794     return 0;
795   }
796   {
797     try {
798       result = (Dali::Toolkit::TextEditor *) &(arg1)->operator =((Dali::Toolkit::TextEditor const &)*arg2);
799     } catch (std::out_of_range& e) {
800       {
801         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
802       };
803     } catch (std::exception& e) {
804       {
805         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
806       };
807     } catch (Dali::DaliException e) {
808       {
809         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
810       };
811     } catch (...) {
812       {
813         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
814       };
815     }
816   }
817
818   jresult = (void *)result;
819   return jresult;
820 }
821
822
823 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TextEditor(void * jarg1) {
824   Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
825
826   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
827   {
828     try {
829       delete arg1;
830     } catch (std::out_of_range& e) {
831       {
832         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
833       };
834     } catch (std::exception& e) {
835       {
836         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
837       };
838     } catch (Dali::DaliException e) {
839       {
840         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
841       };
842     } catch (...) {
843       {
844         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
845       };
846     }
847   }
848
849 }
850
851
852 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_DownCast(void * jarg1) {
853   void * jresult ;
854   Dali::BaseHandle arg1 ;
855   Dali::BaseHandle *argp1 ;
856   Dali::Toolkit::TextEditor result;
857
858   argp1 = (Dali::BaseHandle *)jarg1;
859   if (!argp1) {
860     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
861     return 0;
862   }
863   arg1 = *argp1;
864   {
865     try {
866       result = Dali::Toolkit::TextEditor::DownCast(arg1);
867     } catch (std::out_of_range& e) {
868       {
869         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
870       };
871     } catch (std::exception& e) {
872       {
873         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
874       };
875     } catch (Dali::DaliException e) {
876       {
877         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
878       };
879     } catch (...) {
880       {
881         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
882       };
883     }
884   }
885
886   jresult = new Dali::Toolkit::TextEditor((const Dali::Toolkit::TextEditor &)result);
887   return jresult;
888 }
889
890
891 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_TextChangedSignal(void * jarg1) {
892   void * jresult ;
893   Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
894   Dali::Toolkit::TextEditor::TextChangedSignalType *result = 0 ;
895
896   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
897   {
898     try {
899       result = (Dali::Toolkit::TextEditor::TextChangedSignalType *) &(arg1)->TextChangedSignal();
900     } catch (std::out_of_range& e) {
901       {
902         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
903       };
904     } catch (std::exception& e) {
905       {
906         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
907       };
908     } catch (Dali::DaliException e) {
909       {
910         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
911       };
912     } catch (...) {
913       {
914         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
915       };
916     }
917   }
918
919   jresult = (void *)result;
920   return jresult;
921 }
922
923
924 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_InputStyleChangedSignal(void * jarg1) {
925   void * jresult ;
926   Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
927   Dali::Toolkit::TextEditor::InputStyleChangedSignalType *result = 0 ;
928
929   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
930   {
931     try {
932       result = (Dali::Toolkit::TextEditor::InputStyleChangedSignalType *) &(arg1)->InputStyleChangedSignal();
933     } catch (std::out_of_range& e) {
934       {
935         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
936       };
937     } catch (std::exception& e) {
938       {
939         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
940       };
941     } catch (Dali::DaliException e) {
942       {
943         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
944       };
945     } catch (...) {
946       {
947         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
948       };
949     }
950   }
951
952   jresult = (void *)result;
953   return jresult;
954 }
955
956 /*TextEditorSignal*/
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 ;
960   bool result;
961
962   arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
963   {
964     try {
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) {
967       {
968         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
969       };
970     } catch (std::exception& e) {
971       {
972         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
973       };
974     } catch (Dali::DaliException e) {
975       {
976         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
977       };
978     } catch (...) {
979       {
980         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
981       };
982     }
983   }
984
985   jresult = result;
986   return jresult;
987 }
988
989
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 ;
993   std::size_t result;
994
995   arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
996   {
997     try {
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) {
1000       {
1001         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1002       };
1003     } catch (std::exception& e) {
1004       {
1005         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1006       };
1007     } catch (Dali::DaliException e) {
1008       {
1009         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1010       };
1011     } catch (...) {
1012       {
1013         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1014       };
1015     }
1016   }
1017
1018   jresult = (unsigned long)result;
1019   return jresult;
1020 }
1021
1022
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 ;
1026
1027   arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1028   arg2 = (void (*)(Dali::Toolkit::TextEditor))jarg2;
1029   {
1030     try {
1031       Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Connect(arg1,arg2);
1032     } catch (std::out_of_range& e) {
1033       {
1034         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1035       };
1036     } catch (std::exception& e) {
1037       {
1038         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1039       };
1040     } catch (Dali::DaliException e) {
1041       {
1042         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1043       };
1044     } catch (...) {
1045       {
1046         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1047       };
1048     }
1049   }
1050
1051 }
1052
1053
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 ;
1057
1058   arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1059   arg2 = (void (*)(Dali::Toolkit::TextEditor))jarg2;
1060   {
1061     try {
1062       Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Disconnect(arg1,arg2);
1063     } catch (std::out_of_range& e) {
1064       {
1065         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1066       };
1067     } catch (std::exception& e) {
1068       {
1069         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1070       };
1071     } catch (Dali::DaliException e) {
1072       {
1073         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1074       };
1075     } catch (...) {
1076       {
1077         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1078       };
1079     }
1080   }
1081
1082 }
1083
1084
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 ;
1089
1090   arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1091   argp2 = (Dali::Toolkit::TextEditor *)jarg2;
1092   if (!argp2) {
1093     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::TextEditor", 0);
1094     return ;
1095   }
1096   arg2 = *argp2;
1097   {
1098     try {
1099       Dali_Signal_Sl_void_Sp_Dali_Toolkit_TextEditor_SP__Sg__Emit(arg1,arg2);
1100     } catch (std::out_of_range& e) {
1101       {
1102         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1103       };
1104     } catch (std::exception& e) {
1105       {
1106         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1107       };
1108     } catch (Dali::DaliException e) {
1109       {
1110         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1111       };
1112     } catch (...) {
1113       {
1114         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1115       };
1116     }
1117   }
1118
1119 }
1120
1121
1122 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditorSignal() {
1123   void * jresult ;
1124   Dali::Signal< void (Dali::Toolkit::TextEditor) > *result = 0 ;
1125
1126   {
1127     try {
1128       result = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)new Dali::Signal< void (Dali::Toolkit::TextEditor) >();
1129     } catch (std::out_of_range& e) {
1130       {
1131         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1132       };
1133     } catch (std::exception& e) {
1134       {
1135         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1136       };
1137     } catch (Dali::DaliException e) {
1138       {
1139         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1140       };
1141     } catch (...) {
1142       {
1143         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1144       };
1145     }
1146   }
1147
1148   jresult = (void *)result;
1149   return jresult;
1150 }
1151
1152
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 ;
1155
1156   arg1 = (Dali::Signal< void (Dali::Toolkit::TextEditor) > *)jarg1;
1157   {
1158     try {
1159       delete arg1;
1160     } catch (std::out_of_range& e) {
1161       {
1162         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1163       };
1164     } catch (std::exception& e) {
1165       {
1166         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1167       };
1168     } catch (Dali::DaliException e) {
1169       {
1170         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1171       };
1172     } catch (...) {
1173       {
1174         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1175       };
1176     }
1177   }
1178
1179 }
1180
1181 /*ScrollStateChangedSignal*/
1182 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_ScrollStateChangedSignal(void * jarg1) {
1183   void * jresult ;
1184   Dali::Toolkit::TextEditor *arg1 = 0 ;
1185   Dali::Toolkit::TextEditor::ScrollStateChangedSignalType *result = 0 ;
1186
1187   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
1188   if (!arg1) {
1189     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TextEditor & type is null", 0);
1190     return 0;
1191   }
1192   {
1193     try {
1194       result = (Dali::Toolkit::TextEditor::ScrollStateChangedSignalType *) &arg1->ScrollStateChangedSignal();
1195     } catch (std::out_of_range& e) {
1196       {
1197         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1198       };
1199     } catch (std::exception& e) {
1200       {
1201         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1202       };
1203     } catch (Dali::DaliException e) {
1204       {
1205         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1206       };
1207     } catch (...) {
1208       {
1209         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1210       };
1211     }
1212   }
1213
1214   jresult = (void *)result;
1215   return jresult;
1216 }
1217
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 ;
1221   bool result;
1222
1223   arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1224   {
1225     try {
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) {
1228       {
1229         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1230       };
1231     } catch (std::exception& e) {
1232       {
1233         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1234       };
1235     } catch (Dali::DaliException e) {
1236       {
1237         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1238       };
1239     } catch (...) {
1240       {
1241         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1242       };
1243     }
1244   }
1245
1246   jresult = result;
1247   return jresult;
1248 }
1249
1250
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 ;
1254   std::size_t result;
1255
1256   arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1257   {
1258     try {
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) {
1261       {
1262         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1263       };
1264     } catch (std::exception& e) {
1265       {
1266         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1267       };
1268     } catch (Dali::DaliException e) {
1269       {
1270         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1271       };
1272     } catch (...) {
1273       {
1274         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1275       };
1276     }
1277   }
1278
1279   jresult = (unsigned long)result;
1280   return jresult;
1281 }
1282
1283
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 ;
1287
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;
1290   {
1291     try {
1292       Dali_Signal_void_TextEditor_Scroll_Type__Connect(arg1,arg2);
1293     } catch (std::out_of_range& e) {
1294       {
1295         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1296       };
1297     } catch (std::exception& e) {
1298       {
1299         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1300       };
1301     } catch (Dali::DaliException e) {
1302       {
1303         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1304       };
1305     } catch (...) {
1306       {
1307         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1308       };
1309     }
1310   }
1311
1312 }
1313
1314
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 ;
1318
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;
1321   {
1322     try {
1323       Dali_Signal_void_TextEditor_Scroll_Type__Disconnect(arg1,arg2);
1324     } catch (std::out_of_range& e) {
1325       {
1326         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1327       };
1328     } catch (std::exception& e) {
1329       {
1330         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1331       };
1332     } catch (Dali::DaliException e) {
1333       {
1334         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1335       };
1336     } catch (...) {
1337       {
1338         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1339       };
1340     }
1341   }
1342
1343 }
1344
1345
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 ;
1351
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;
1355   if (!argp2) {
1356     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::TextEditor", 0);
1357     return ;
1358   }
1359   arg2 = *argp2;
1360   {
1361     try {
1362       Dali_Signal_void_TextEditor_Scroll_Type__Emit(arg1,arg2,arg3);
1363     } catch (std::out_of_range& e) {
1364       {
1365         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1366       };
1367     } catch (std::exception& e) {
1368       {
1369         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1370       };
1371     } catch (Dali::DaliException e) {
1372       {
1373         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1374       };
1375     } catch (...) {
1376       {
1377         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1378       };
1379     }
1380   }
1381
1382 }
1383
1384
1385 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ScrollStateChangedSignal() {
1386   void * jresult ;
1387   Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *result = 0 ;
1388
1389   {
1390     try {
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) {
1393       {
1394         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1395       };
1396     } catch (std::exception& e) {
1397       {
1398         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1399       };
1400     } catch (Dali::DaliException e) {
1401       {
1402         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1403       };
1404     } catch (...) {
1405       {
1406         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1407       };
1408     }
1409   }
1410
1411   jresult = (void *)result;
1412   return jresult;
1413 }
1414
1415
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 ;
1418
1419   arg1 = (Dali::Signal< void ( Dali::Toolkit::TextEditor, Dali::Toolkit::TextEditor::Scroll::Type ) > *)jarg1;
1420   {
1421     try {
1422       delete arg1;
1423     } catch (std::out_of_range& e) {
1424       {
1425         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1426       };
1427     } catch (std::exception& e) {
1428       {
1429         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1430       };
1431     } catch (Dali::DaliException e) {
1432       {
1433         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1434       };
1435     } catch (...) {
1436       {
1437         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1438       };
1439     }
1440   }
1441
1442 }
1443
1444 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ENABLE_SHIFT_SELECTION_get()
1445 {
1446   return (int)Dali::Toolkit::DevelTextEditor::Property::ENABLE_SHIFT_SELECTION;
1447 }
1448
1449 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_MATCH_SYSTEM_LANGUAGE_DIRECTION_get() {
1450   int jresult;
1451   int result;
1452
1453   result = (int)Dali::Toolkit::DevelTextEditor::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION;
1454   jresult = (int)result;
1455   return jresult;
1456 }
1457
1458 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TextEditor_GetInputMethodContext(void * jarg1) {
1459   void * jresult ;
1460   Dali::Toolkit::TextEditor *arg1 = (Dali::Toolkit::TextEditor *) 0 ;
1461   Dali::InputMethodContext result;
1462
1463   arg1 = (Dali::Toolkit::TextEditor *)jarg1;
1464   {
1465     try {
1466       result = Dali::Toolkit::DevelTextEditor::GetInputMethodContext(*arg1);
1467     } catch (std::out_of_range& e) {
1468       {
1469         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1470       };
1471     } catch (std::exception& e) {
1472       {
1473         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1474       };
1475     } catch (...) {
1476       {
1477         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1478       };
1479     }
1480   }
1481   jresult = new Dali::InputMethodContext((const Dali::InputMethodContext &)result);
1482   return jresult;
1483 }
1484 #ifdef __cplusplus
1485 }
1486 #endif
1487