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:

ParameterTypeDescription
buttonsElectronThumbarButton[]The buttons to add.

Returns: boolean — Whether the buttons were added successfully.