gpt4 book ai didi

electron - 如何在Windows 10中添加上一个,播放/停止,下一个最小化

转载 作者:行者123 更新时间:2023-12-03 12:37:43 26 4
gpt4 key购买 nike

如何将上一个,播放/停止,下一个添加到我的 Electron 应用中(与Spotify中相同)
我不知道该怎么做
enter image description here

最佳答案

Thumbnail Toolbars in Electron

To set thumbnail toolbar in your application, you need to use BrowserWindow.setThumbarButtons.


win.setThumbarButtons(buttons)

Add a thumbnail toolbar with a specified set of buttons to the thumbnail image of a window in a taskbar button layout. Returns a Boolean object indicates whether the thumbnail has been added successfully.


该文档如下,在此没有太多解释。

关于electron - 如何在Windows 10中添加上一个,播放/停止,下一个最小化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65874261/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com