python 中的触控栏支持
Touchbar support in python
在python中是否有支持使用触摸条的库?任何绑定,或者调用一些 C
函数来改变触摸栏上的东西的方法?
看看PyObjC。它提供了从 Python 调用 Objective-C 函数的方法。这是玩转来自 Python.
的 macOS API 的好方法
来自网站:
The PyObjC project aims to provide a bridge between the Python and Objective-C programming languages.
该网站还说明了
的重要细节
The most important usage of this is writing Cocoa GUI applications on Mac OS X in pure Python. See our tutorial for an example of this.
这表明您可以使用 PyObjC 构建触摸栏界面。
在python中是否有支持使用触摸条的库?任何绑定,或者调用一些 C
函数来改变触摸栏上的东西的方法?
看看PyObjC。它提供了从 Python 调用 Objective-C 函数的方法。这是玩转来自 Python.
的 macOS API 的好方法来自网站:
The PyObjC project aims to provide a bridge between the Python and Objective-C programming languages.
该网站还说明了
的重要细节The most important usage of this is writing Cocoa GUI applications on Mac OS X in pure Python. See our tutorial for an example of this.
这表明您可以使用 PyObjC 构建触摸栏界面。