DALi C# binding - EventHandler Support 90/85490/15
authorRavi Nanjundappa <nravi.n@samsung.com>
Thu, 25 Aug 2016 10:04:38 +0000 (15:34 +0530)
committerRichard Huang <r.huang@samsung.com>
Mon, 12 Sep 2016 17:02:26 +0000 (18:02 +0100)
commit9d962edfc2200e02b0db2b00250e875805624918
tree9452c9f18fcea9c2f1c0c95edcb4468fb082dae5
parente9a5063796f71246b3b4d8b419cf8b308689f7ee
DALi C# binding - EventHandler Support

Added EvenHandler support for AccessibilityManager, Image, Popup, Stage, Actor,
ItemView, PropertyNotification, StyleManager, Animation,  KeyboardFocusManager,
RenderTask, Tapgesture, Application, Longpressgesture, ResourceImage, TextEditor,
Builder, ObjectRegistry, Scrollable, TextField, Button, Pageturnview, Scrollbar,
Timer, Control, Pangesture, ScrollView, VideoView, GaussianBlurView, Pinchgesture
and Slider classes.

By this, we use the normal C# way of adding EventHandler as delegates to user apps
and also hide IntPtr getting exposed to Users/app developers.
For ex:
(1) _application.Init += new Dali.AUIApplicationInitEventHandler(Initialize);
(2) _scrollView.OnRelayoutEvent += new Dali.Actor.OnRelayoutEventHandler(OnScrollViewRelayout);

Also updated the doxygen comments for the EventHandlers which will be exposed to
users/app developers.

Used verbs for event names. For example,
Actor.Touched += ;
Stage.Touched += ;
Actor.WheelMoved += ;
Actor.KeyPressed += ;
All events are changes as mentioned above.

Change-Id: I335f32381a6637c81d9c2379f69fa4d6f3e3c4c2
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
41 files changed:
plugins/dali-swig/SWIG/dali-adaptor.i
plugins/dali-swig/SWIG/dali-core.i
plugins/dali-swig/SWIG/dali-operator.i
plugins/dali-swig/SWIG/dali-toolkit.i
plugins/dali-swig/SWIG/dali.i
plugins/dali-swig/SWIG/events/accessibilitymanager-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/actor-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/animation-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/application-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/builder-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/button-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/control-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/gaussian-blur-view-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/image-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/itemview-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/keyboardFocusManager-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/longpressgesture-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/objectregistry-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/pageturnview-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/pangesture-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/pinchgesture-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/popup-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/propertynotification-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/rendertask-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/resourceimage-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/scrollable-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/scrollbar-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/scrollview-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/slider-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/stage-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/stylemanager-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/tapgesture-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/texteditor-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/textfield-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/timer-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/events/videoview-event.i [new file with mode: 0644]
plugins/dali-swig/SWIG/signal-parameters.i
plugins/dali-swig/SWIG/signals.i
plugins/dali-swig/examples/dali-test.cs
plugins/dali-swig/examples/hello-world.cs
plugins/dali-swig/examples/scroll-view.cs