Closes the window.
Disables min/max size constraints.
Enables min/max size constraints.
Focuses the window.
Forces the window to reload the page assets.
Switches the window to fullscreen mode.
Gets the specified window.
The name of the window to get.
The corresponding window object.
Handles file drops originating from platform-specific code (e.g., macOS/Linux native drag-and-drop). Gathers information about the drop target element and sends it back to the Go backend.
An array of file paths (strings) that were dropped.
The x-coordinate of the drop event, in logical (CSS) pixels relative to the webview.
The y-coordinate of the drop event, in logical (CSS) pixels relative to the webview.
Hides the window.
Returns true if the window is focused.
Whether the window is currently focused.
Returns true if the window is fullscreen.
Whether the window is currently fullscreen.
Returns true if the window is maximised.
Whether the window is currently maximised.
Returns true if the window is minimised.
Whether the window is currently minimised.
Maximises the window.
Minimises the window.
Opens the development tools pane.
Opens the print dialog for the window.
Reloads the page assets.
Returns true if the window is resizable.
Whether the window is currently resizable.
Restores the window to its previous state if it was previously minimised, maximised or fullscreen.
Sets the window to be always on top.
Whether the window should stay on top.
Sets the background colour of the window.
The desired red component of the window background.
The desired green component of the window background.
The desired blue component of the window background.
The desired alpha component of the window background.
Removes the window frame and title bar.
Whether the window should be frameless.
Disables the system fullscreen button.
Whether the fullscreen button should be enabled.
Sets the maximum size of the window.
The desired maximum width of the window.
The desired maximum height of the window.
Sets the minimum size of the window.
The desired minimum width of the window.
The desired minimum height of the window.
Sets the absolute position of the window.
The desired horizontal absolute position of the window.
The desired vertical absolute position of the window.
Sets the relative position of the window to the screen.
The desired horizontal relative position of the window.
The desired vertical relative position of the window.
Sets whether the window is resizable.
Whether the window should be resizable.
Moves the window to the center of the specified screen's work area.
The ID of the target screen.
Sets the size of the window.
The desired width of the window.
The desired height of the window.
Sets the title of the window.
The desired title of the window.
Sets the zoom level of the window.
The desired zoom level.
Shows the window.
Toggles the window between frameless and normal.
Toggles the window between fullscreen and normal.
Toggles the window between maximised and normal.
Un-fullscreens the window.
Un-maximises the window.
Un-minimises the window.
Zooms the window.
Increases the zoom level of the webview content.
Decreases the zoom level of the webview content.
Resets the zoom level of the webview content.
Centers the window on the screen.