Neutralino.window namespace contains methods related to the current native window instance. This namespace's methods will work only for
Sets the title of the native window.
title: Title of the window as a string.
Minimizes the native window.
Maximizes the native window.
Restores the native window.
true if the native window is maximized.
falsebased on current maximized status.
Enables the full screen mode.
Exits from the full screen mode.
true if the native window is in the full screen mode.
falsebased on current full screen status.
Shows the native window.
Hides the native window.
true if the native window is visible.
falsebased on current visibility status.
Focuses the native window.
Moves the native window into given coordinates. Neutralinojs's cross-platform coordinate system starts from top-left corner of the screen.
In other words,
x=0,y=0 point refers to the top-left corner of the device's main screen.
x: A integer value for the horizontal position.
y: A integer value for the vertical position.
Sets an icon for the native window or Dock.
icon: Path of the icon. A
200x200PNG image file works fine on all supported operating systems.