Description
The MaximizeUsingFullscreenGeometryHint
field is a member of the Editor.WindowFlags
enumeration. This flag is used to indicate that a window should be maximized using the full screen geometry as a hint. This can be particularly useful in environments where the window manager supports maximizing windows to the full screen size, taking into account any system UI elements like taskbars or docks.
Usage
To use the MaximizeUsingFullscreenGeometryHint
flag, you can combine it with other WindowFlags
using a bitwise OR operation. This allows you to specify multiple window behaviors at once. For example, you might want to create a window that is both frameless and maximized using the full screen geometry hint.
Example
// Example of using MaximizeUsingFullscreenGeometryHint
WindowFlags flags = WindowFlags.FramelessWindowHint | WindowFlags.MaximizeUsingFullscreenGeometryHint;
// Apply these flags to a window
EditorWindow myWindow = new EditorWindow();
myWindow.SetWindowFlags(flags);
myWindow.Show();