/// Enumeration for the display rotation of window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum DisplayRotation
{
/// Enumeration for the indicator opacity.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum StatusBarMode
{
/// <summary>
/// Enumeration for the keygrab modes of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum KeyGrabMode
{
/// Enumeration for the indicator mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum IndicatorMode
{
/// <summary>
/// Enumeration for the keyboard mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum KeyboardMode
{
/// <summary>
/// Enumeration for the window type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum WindowType
{
/// <summary>
/// Enumeration of notification window's priority level.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum NotificationLevel
{
/// <summary>
/// Enumeration of screen mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ScreenMode
{
/// <summary>
/// The Window is a container that contains the graphical user interface of a program.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Window : Widget
{
SmartEvent _deleteRequest;
/// </summary>
/// <param name="name">Window name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Window(string name) : this(null, name)
{
}
/// and set callback when window rotation is changed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Window(Window parent, string name) : this(parent, name, WindowType.Basic)
{
}
/// and set callback when window rotation is changed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Window(Window parent, string name, WindowType type)
{
Name = name;
/// Creates and initializes a new instance of the Window class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Window()
{
}
/// CloseRequested will be triggered when window is closed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler CloseRequested;
/// <summary>
/// RotationChanged will be triggered when window is rotated.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler RotationChanged;
/// <summary>
/// Sets or gets the window name.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Name { get; set; }
/// <summary>
/// Gets the window type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WindowType Type { get; } = WindowType.Basic;
/// <summary>
/// Gets the window size with Size value(w,h)
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size ScreenSize
{
get
/// Gets the screen dpi for the screen that the window is on.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point ScreenDpi
{
get
/// Gets the rotation of the window. The rotation of the window in degrees (0-360).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Rotation
{
get
/// Gets whether the window manager supports window rotation or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsRotationSupported
{
get
/// Sets or gets the available rotation degree.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DisplayRotation AvailableRotations
{
get
/// If auto deletion is disabled, the window is not destroyed and the program has to handle it.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoDeletion
{
get
/// If alpha is true, the alpha channel of the canvas will be enabled possibly making parts of the window completely or partially transparent.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Alpha
{
get
/// The Role will be invalid if a new role is set or if the window is destroyed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Role
{
get
/// Sets or gets the mode of the status bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public StatusBarMode StatusBarMode
{
get
/// Sets or gets the iconified state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool Iconified
{
/// </summary>
/// <value>The indicator mode.</value>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndicatorMode IndicatorMode
{
get
/// Gets or sets the aspect ratio of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Aspect
{
get
/// Window's autohide state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoHide
{
get
/// This function requests the Window Manager to not draw any decoration around the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Borderless
{
get
/// Gets or sets the demand attention state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool DemandAttention
{
get
/// Gets or sets the floating mode of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FloatingMode
{
get
/// This function will enable or disable the animation of focus highlight only for the given window, regardless of the global setting for it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FocusHighlightAnimation
{
get
/// This function will enable or disable the focus highlight only for the given window, regardless of the global setting for it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FocusHighlightEnabled
{
get
/// Sets the style to use for theming the highlight of focused objects on the given window. If style is NULL, the default will be used.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string FocusHighlightStyle
{
get
/// Gets the keyboard mode of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public KeyboardMode KeyboardMode
{
get
/// and anything else means that the window will be placed in the default layer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int Layer
{
get
/// Gets or sets the modal state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Modal
{
get
/// The noblank property may have no effect if the window is iconified/minimized or hidden.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool NoBlank
{
get
/// Gets the profile of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Profile
{
get
/// When this function returns true, object will never resize larger than the screen.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ScreenConstrain
{
get
/// Gets or sets the base size of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size BaseSize
{
get
/// Gets or sets the step size of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size StepSize
{
get
/// Gets the screen position X of a window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ScreenPositionX
{
get
/// Gets the screen position Y of a window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ScreenPositionY
{
get
/// Gets or sets the title of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Title
{
get
/// Gets or sets the urgent state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Urgent
{
get
/// Gets or sets the withdrawn state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Withdrawn
{
get
/// This can be used for a notification type window only.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NotificationLevel NotificationLevel
{
get
/// This needs the privilege. If the application which is not get the privilege use this API, the window manager generates the permission deny error.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScreenMode ScreenMode
{
get
/// This needs the privilege. If the application which is not get the privilege use this API, the window manager generates the permission deny error.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Brightness
{
get
/// <param name="systemWide">A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user ID that created the service.</param>
/// <returns>If true creates successful, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool CreateServiceSocket(string name, int number, bool systemWide)
{
return Interop.Elementary.elm_win_socket_listen(RealHandle, name, number, systemWide);
/// <param name="degree">The rotation of the window, in degrees (0-360), counter-clockwise.</param>
/// <param name="resize">Resizes the window's contents so that they fit inside the current window geometry.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetRotation(int degree, bool resize)
{
if (resize)
/// This will have no effect when used by a non-alpha window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetOpaqueState()
{
Interop.Eutil.efl_util_set_window_opaque_state(RealHandle, 1);
/// Unsets the alpha window's visual state to opaque state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UnsetOpaqueState()
{
Interop.Eutil.efl_util_set_window_opaque_state(RealHandle, 0);
/// Be careful that this may have side-effects like making the window non-accessible in some cases unless the window is specially handled. Use this with care.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void FocusSkip(bool skip)
{
Interop.Elementary.elm_win_prop_focus_skip_set(Handle, skip);
/// Places the window pointed by object at the top of the stack, so that it's not covered by any other window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PullUp()
{
Interop.Elementary.elm_win_raise(Handle);
/// Places the window pointed by object at the bottom of the stack, so that no other window is covered by it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void BringDown()
{
Interop.Elementary.elm_win_lower(Handle);
/// in any way that the window is going to be the active one after it.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Active()
{
Interop.Elementary.elm_win_activate(Handle);
/// </summary>
/// <param name="obj">Resize object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeleteResizeObject(EvasObject obj)
{
Interop.Elementary.elm_win_resize_object_del(Handle, obj);
/// Resize object.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddResizeObject(EvasObject obj)
{
Interop.Elementary.elm_win_resize_object_add(Handle, obj);
/// <param name="keyname">The keyname to grab.</param>
/// <param name="mode">According to the grabmode, it can grab key differently.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void WinKeyGrab(string keyname, KeyGrabMode mode)
{
/// </summary>
/// <param name="keyname">The keyname to grab.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void WinKeyUngrab(string keyname)
{
/// </summary>
/// <param name="keyname">The keyname string to set keygrab.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void KeyGrabEx(string keyname)
{
Interop.Elementary.eext_win_keygrab_set(RealHandle, keyname);
/// </summary>
/// <param name="keyname">The keyname string to unset keygrab.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void KeyUngrabEx(string keyname)
{
Interop.Elementary.eext_win_keygrab_unset(RealHandle, keyname);
/// <param name="value">The value string</param>
/// <returns>The ID of the created auxiliary hint, otherwise -1 on failure</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int AddAuxiliaryHint(string hint, string value)
{
/// <param name="id">The ID of the auxiliary hint</param>
/// <returns>If true deletes successful, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool DeleteAuxiliaryHint(int id)
{
/// <param name="value">The value string to be set</param>
/// <returns>If true changes successful, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool SetAuxiliaryHintValue(int id, string value)
{
/// <param name="id">The auxiliary hint ID</param>
/// <returns>The string value of the auxiliary hint ID</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public string GetAuxiliaryHintValue(int id)
{
/// <param name="hint">The auxiliary hint string</param>
/// <returns>The ID of the auxiliary hint, otherwise -1 on failure</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int GetAuxiliaryHintId(string hint)
{
/// <param name="parent">Parent EvasObject.</param>
/// <returns>Handle IntPtr.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
Interop.Elementary.elm_config_accel_preference_set("3d");