WindowFlags MinimizeButton

robot_2Generated
code_blocksInput

Description

The MinimizeButton field is a member of the Editor.WindowFlags enumeration. It represents a flag that can be used to specify that a window should include a minimize button in its title bar. This flag is typically used when creating or configuring windows within the editor environment to control their appearance and behavior.

Usage

To use the MinimizeButton flag, you can combine it with other WindowFlags using a bitwise OR operation. This allows you to specify multiple window features at once. For example, you might want a window to have both minimize and maximize buttons.

Example

// Example of using the MinimizeButton flag
Editor.WindowFlags windowFlags = Editor.WindowFlags.Window | Editor.WindowFlags.MinimizeButton;

// Apply the flags to a window
EditorWindow myWindow = new EditorWindow();
myWindow.SetWindowFlags(windowFlags);
myWindow.Show();