Skip to content

ElectronTray.setTitle method

ElectronTray › setTitle

Unofficial

Sets the title displayed next to the tray icon in the status bar (Support ANSI colors). darwin only.

Signature:

setTitle(title: string, options?: ElectronTitleOptions | undefined): void

Parameters:

Parameter Type Description
title string The title to display next to the tray icon.
options? ElectronTitleOptions | undefined Options describing how the title is displayed.

Returns: void