Skip to content

@tauri-apps/plugin-window-state

Source: undefined

ALL: 63;

Source: undefined

DECORATIONS: 16;

Source: undefined

FULLSCREEN: 32;

Source: undefined

MAXIMIZED: 4;

Source: undefined

POSITION: 2;

Source: undefined

SIZE: 1;

Source: undefined

VISIBLE: 8;

Source: undefined

function filename(): Promise<string>;

Source: undefined

Get the name of the file used to store window state.

Promise<string>


function restoreState(label, flags?): Promise<void>;

Source: undefined

Restore the state for the specified window from disk.

Parameter Type
label string
flags? StateFlags

Promise<void>


function restoreStateCurrent(flags?): Promise<void>;

Source: undefined

Restore the state for the current window from disk.

Parameter Type
flags? StateFlags

Promise<void>


function saveWindowState(flags?): Promise<void>;

Source: undefined

Save the state of all open windows to disk.

Parameter Type
flags? StateFlags

Promise<void>


© 2026 Tauri Contributors. CC-BY / MIT