Merge "Added support for app stylesheets and window mode" into devel/master
[platform/core/uifw/dali-toolkit.git] / 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