You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.
// Open a new window
macgap.window.open({url:"public/index2.html", width: 400, height: 300});
// Resize window
macgap.window.resize({width: 400, height: 200});
// Get the window coordinates
macgap.window.getX();
macgap.window.getY();
// Move window (Bottom left is x:0 and y:0)
macgap.window.move({x:0, y: 200});
// Toggle fullscreen mode
macgap.window.toggleFullscreen();
// Maximize the window
macgap.window.maximize();
// Minimize the window
macgap.window.minimize();
// Return true if the window is currently maximized and false if it is not
var isWindowMaximized = macgap.window.isMaximized();