Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
max
Max value of the WindowFlags
.
case max
Other cases
case resizeDisabled
The window can’t be resized by dragging its resize grip. It’s still possible to resize the window using
windowSetSize(_:windowId:)
. This flag is ignored for full screen windows.case borderless
The window do not have native title bar and other decorations. This flag is ignored for full-screen windows.
case alwaysOnTop
The window is floating on top of all other windows. This flag is ignored for full-screen windows.
case transparent
The window background can be transparent.
case noFocus
The window can’t be focused. No-focus window will ignore all input, except mouse clicks.
case popup
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 (seewindowSetTransient(windowId:parentWindowId:)
).case extendToTitle
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.
case mousePassthrough
All mouse events are passed to the underlying window of the same application.