diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 0d06673d02..367d42ad43 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -3304,12 +3304,15 @@ The window can't be resized by dragging its resize grip. It's still possible to resize the window using [method window_set_size]. This flag is ignored for full screen windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. The window do not have native title bar and other decorations. This flag is ignored for full-screen windows. + [b]Note:[/b] This flag is implemented on Linux (X11/Wayland), macOS, and Windows. The window is floating on top of all other windows. This flag is ignored for full-screen windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. The window background can be transparent. @@ -3319,9 +3322,11 @@ The window can't be focused. No-focus window will ignore all input, except mouse clicks. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. Window is part of menu or [OptionButton] dropdown. This flag can't be changed when the window is visible. An active popup window will exclusively receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have transient parent set (see [method window_set_transient]). + [b]Note:[/b] This flag is implemented on Linux (X11/Wayland), macOS, and Windows. Window content is expanded to the full size of the window. Unlike borderless window, the frame is left intact and can be used to resize the window, title bar is transparent, but have minimize/maximize/close buttons. @@ -3331,6 +3336,7 @@ All mouse events are passed to the underlying window of the same application. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. Window style is overridden, forcing sharp corners. @@ -3343,14 +3349,15 @@ Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window). + [b]Note:[/b] This flag is implemented on Linux (Wayland). Window minimize button is disabled. - [b]Note:[/b] This flag is implemented on macOS and Windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. Window maximize button is disabled. - [b]Note:[/b] This flag is implemented on macOS and Windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. Represents the size of the [enum WindowFlags] enum. diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 21094df136..26c9f763ed 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -942,32 +942,38 @@ The window can't be resized by dragging its resize grip. It's still possible to resize the window using [member size]. This flag is ignored for full screen windows. Set with [member unresizable]. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, Windows, and embedded windows. The window do not have native title bar and other decorations. This flag is ignored for full-screen windows. Set with [member borderless]. + [b]Note:[/b] This flag is implemented on Linux (X11/Wayland), macOS, Windows, and embedded windows. The window is floating on top of all other windows. This flag is ignored for full-screen windows. Set with [member always_on_top]. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, Windows, and embedded windows. The window background can be transparent. Set with [member transparent]. [b]Note:[/b] This flag has no effect if either [member ProjectSettings.display/window/per_pixel_transparency/allowed], or the window's [member Viewport.transparent_bg] is set to [code]false[/code]. + [b]Note:[/b] Transparency support is implemented on Linux (X11/Wayland), macOS, Windows, and embedded windows. The window can't be focused. No-focus window will ignore all input, except mouse clicks. Set with [member unfocusable]. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, Windows, and embedded windows. Window is part of menu or [OptionButton] dropdown. This flag can't be changed when the window is visible. An active popup window will exclusively receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have transient parent set (see [member transient]). - [b]Note:[/b] This flag has no effect in embedded windows (unless said window is a [Popup]). + [b]Note:[/b] This flag is implemented on Linux (X11/Wayland), macOS, Windows, and embedded [Popup] windows. Window content is expanded to the full size of the window. Unlike borderless window, the frame is left intact and can be used to resize the window, title bar is transparent, but have minimize/maximize/close buttons. Set with [member extend_to_title]. - [b]Note:[/b] This flag is implemented only on macOS. [b]Note:[/b] This flag has no effect in embedded windows. + [b]Note:[/b] This flag is implemented only on macOS. All mouse events are passed to the underlying window of the same application. [b]Note:[/b] This flag has no effect in embedded windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, Windows. Window style is overridden, forcing sharp corners. @@ -982,14 +988,18 @@ Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window). + [b]Note:[/b] This flag has no effect in embedded windows. + [b]Note:[/b] This flag is implemented on Linux (Wayland). Window minimize button is disabled. - [b]Note:[/b] This flag is implemented on macOS and Windows. + [b]Note:[/b] This flag has no effect in embedded windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. Window maximize button is disabled. - [b]Note:[/b] This flag is implemented on macOS and Windows. + [b]Note:[/b] This flag has no effect in embedded windows. + [b]Note:[/b] This flag is implemented on Linux (X11), macOS, and Windows. Max value of the [enum Flags].