Tutorial: window.updateOptions

window.updateOptions

Updates the window using the passed options. Values that are objects are deep-merged, overwriting only the values that are provided.

The argument is a window creation options Object.

Example

var mainWindow = fin.desktop.Window.getCurrent();
    
mainWindow.updateOptions({
    frame: false,
    maxWidth: 500
});