From 0c133f094ab995c10034317cf1d7be2be55caf1c Mon Sep 17 00:00:00 2001 From: tscholb Date: Tue, 3 Sep 2019 10:34:21 +0900 Subject: [PATCH] [NUI] Add Window Creation API for setting name (#998) --- src/Tizen.NUI/src/public/Window.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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)] -- 2.34.1