Skip to content

ElectronBrowserWindow.setThumbarButtons method

ElectronBrowserWindow › setThumbarButtons

Unofficial

Adds a thumbnail toolbar with a specified set of buttons to the thumbnail image of a window (Windows only).

Signature:

setThumbarButtons(buttons: ElectronThumbarButton[]): boolean

Parameters:

Parameter Type Description
buttons ElectronThumbarButton[] The buttons to add.

Returns: booleanWhether the buttons were added successfully.