To use:
NewApplication(); // defaults to no stylesheet and OPAQUE window
NewApplication("mystylesheet"); // defaults to OPQAUE
NewApplication("mystylesheet", Application.WINDOW_MODE.TRANSPARENT);
NewApplication( Application.WINDOW_MODE.TRANSPARENT); // no style sheet
Change-Id: Ief4755e0892560eb4cba45ebf89a1d8ce103fa34
}
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