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:

Parameter Type Description
filename string The represented filename.

Returns: void