Description
The WindowOverridesSystemGestures
field is a member of the Editor.WindowFlags
enumeration. This flag indicates that the window should override system gestures, allowing the window to handle gestures that would normally be intercepted by the operating system. This can be useful for applications that require custom gesture handling or need to prevent system gestures from interfering with the application's user interface.
Usage
To use the WindowOverridesSystemGestures
flag, include it in the window flags when creating or modifying a window. This will ensure that the window can handle gestures directly, without interference from the system.
Example
// Example of using WindowOverridesSystemGestures
// Create a window with custom flags
var windowFlags = Editor.WindowFlags.Window | Editor.WindowFlags.WindowOverridesSystemGestures;
// Apply the flags to a window
var myWindow = new EditorWindow();
myWindow.SetWindowFlags(windowFlags);
// Now, myWindow can handle system gestures directly.