Merge "Added support for app stylesheets and window mode" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 10 Oct 2016 15:05:27 +0000 (08:05 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 10 Oct 2016 15:05:27 +0000 (08:05 -0700)
plugins/dali-swig/SWIG/events/application-event.i

index 73a05cd..69fdb2b 100644 (file)
     }
 
     public static Application NewApplication() {
-      Application ret = New(1);
+      return NewApplication("",Application.WINDOW_MODE.OPAQUE);
+    }
+
+    public static Application NewApplication(string stylesheet) {
+      return NewApplication(stylesheet, Application.WINDOW_MODE.OPAQUE);
+    }
+
+    public static Application NewApplication(string stylesheet, Application.WINDOW_MODE windowMode) {
+
+      Application ret = New(1, stylesheet, windowMode);
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 
       // we've got an application now connect the signals
       return ret;
     }
 
+
     %}
     %enddef