From: tscholb Date: Tue, 3 Sep 2019 01:34:21 +0000 (+0900) Subject: [NUI] Add Window Creation API for setting name (#998) X-Git-Tag: submit/tizen/20190904.005213~1^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c133f094ab995c10034317cf1d7be2be55caf1c;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add Window Creation API for setting name (#998) --- diff --git a/src/Tizen.NUI/src/public/Window.cs b/src/Tizen.NUI/src/public/Window.cs index 7da98b043..eee81dfe2 100755 --- a/src/Tizen.NUI/src/public/Window.cs +++ b/src/Tizen.NUI/src/public/Window.cs @@ -80,6 +80,21 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Creates a new Window.
+ /// This creates an extra window in addition to the default main window
+ ///
+ /// The name for extra window. + /// The position and size of the Window. + /// Whether Window is translucent. + /// A new Window. + /// 6 + [EditorBrowsable(EditorBrowsableState.Never)] + public Window(string name, Rectangle windowPosition = null, bool isTranslucent = false) : this(Interop.Window.Window_New__SWIG_0(Rectangle.getCPtr(windowPosition), name, isTranslucent), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + [UnmanagedFunctionPointer(CallingConvention.StdCall)] private delegate void WindowFocusChangedEventCallbackType(bool focusGained); [UnmanagedFunctionPointer(CallingConvention.StdCall)]