Skip to content

ElectronBrowserWindow.setRepresentedFilename method

ElectronBrowserWindow › setRepresentedFilename

Unofficial

Sets the pathname of the file the window represents (macOS only).

Signature:

setRepresentedFilename(filename: string): void

Parameters:

ParameterTypeDescription
filenamestringThe represented filename.

Returns: void