Skip to main content

类:TouchBarOtherItemsProxy

类:TouchBarOtherItemsProxy

¥Class: TouchBarOtherItemsProxy

实例化一个特殊的 "其他条目代理",它将继承自 Chromium 的 TouchBar 元素嵌套在代理指示的空间处。默认情况下,此代理会添加到每个 TouchBar 输入的末尾。有关更多信息,请参阅 NSTouchBarItemIdentifierOtherItemsProxy 上的 AppKit 文档

¥Instantiates a special "other items proxy", which nests TouchBar elements inherited from Chromium at the space indicated by the proxy. By default, this proxy is added to each TouchBar at the end of the input. For more information, see the AppKit docs on NSTouchBarItemIdentifierOtherItemsProxy

注意:每个 TouchBar 只能添加该类的一个实例。

¥Note: Only one instance of this class can be added per TouchBar.

进程:主进程
该类不是从 'electron' 模块导出的。它仅可用作 Electron API 中其他方法的返回值。

¥Process: Main
This class is not exported from the 'electron' module. It is only available as a return value of other methods in the Electron API.

new TouchBarOtherItemsProxy()