Transparent = 3,
}
+ /// <summary>
+ /// Enumeration for the keygrab modes of window.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public enum KeyGrabMode
{
+ /// <summary>
+ /// Unknown keygrab mode
+ /// </summary>
Shared = 256,
+
+ /// <summary>
+ /// Getting the grabbed-key together with the other client windows.
+ /// </summary>
Topmost = 512,
+
+ /// <summary>
+ /// Getting the grabbed-key only when window is top of the stack.
+ /// </summary>
Exclusive = 1024,
+
+ /// <summary>
+ /// Getting the grabbed-key exclusively regardless of window's position.
+ /// </summary>
OverrideExclusive = 2048,
}
_rotationChanged.On += (s, e) => RotationChanged?.Invoke(this, EventArgs.Empty);
}
+ /// <summary>
+ /// Creates and initializes a new instance of the Window class.
+ /// </summary>
protected Window()
{
}
}
}
+ /// <summary>
+ /// Sets or gets available rotation degree.
+ /// </summary>
[Obsolete("Sorry, it's error typo of AvailableRotations, please use AvailableRotations")]
public DisplayRotation AavailableRotations { get; set; }
}
}
+ /// <summary>
+ /// Sets or gets the iconified state of a window.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool Iconified
{
Interop.Elementary.elm_win_resize_object_add(Handle, obj);
}
+ /// <summary>
+ /// Set keygrab value of the window.
+ /// This function grabs the key of window using grab_mode.
+ /// </summary>
+ /// <param name="keyname">The keyname to grab.</param>
+ /// <param name="mode">According to the grabmode, it can grab key differently</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void WinKeyGrab(string keyname, KeyGrabMode mode)
{
Interop.Elementary.elm_win_keygrab_set(RealHandle, keyname, 0, 0, 0, mode);
}
+ /// <summary>
+ /// Unset keygrab value of the window.
+ /// This function unset keygrab value.Ungrab key of window.
+ /// </summary>
+ /// <param name="keyname">The keyname to grab.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void WinKeyUngrab(string keyname)
{
Interop.Elementary.eext_win_keygrab_unset(RealHandle, keyname);
}
+ /// <summary>
+ /// Creates a widget handle.
+ /// </summary>
+ /// <param name="parent">Parent EvasObject</param>
+ /// <returns>Handle IntPtr</returns>
protected override IntPtr CreateHandle(EvasObject parent)
{
Interop.Elementary.elm_config_accel_preference_set("3d");
return (DisplayRotation)orientation;
}
}
-}
+}
\ No newline at end of file