#endif
Log.Info("NUI", "[NUI] OnApplicationInit: GetWindow");
Tizen.Tracer.Begin("[NUI] OnApplicationInit: GetWindow");
- Window.Instance = GetWindow();
+ Window.Instance = Window.Default = GetWindow();
#if !PROFILE_TV
//tv profile never use default focus indicator, so this is not needed!
BottomRight = 8,
}
-
/// <summary>
/// The stage instance property (read-only).<br />
/// Gets the current window.<br />
/// </summary>
- /// <since_tizen> 3 </since_tizen>
+ [Obsolete("This has been deprecated in API12, please use Default instead")]
public static Window Instance { get; internal set; }
/// <summary>
+ /// Gets the default window.
+ /// The main window or default window is automatically created when the application is launched,
+ /// and it remains constant and unchanged throughout the application's operation.
+ /// </summary>
+ /// <since_tizen> 12 </since_tizen>
+ public static Window Default { get; internal set; }
+
+ /// <summary>
/// Gets or sets a window type.
/// Most of window type can be set to use WindowType, except for IME type.
/// IME type can be set to use one of NUIApplication's constrcutors.