下拉刷新
Repository Details
Shared bynavbar_avatar
repo_avatar
HelloGitHub Rating
0 ratings
轻松操作 macOS 状态栏和通知的 Python 库
FreeBSD-3-Clause
Claim
Collect
Share
3.2k
Stars
No
Chinese
Python
Language
No
Active
37
Contributors
75
Issues
No
Organization
None
Latest
178
Forks
BSD-3-Clause
License
More
rumps image
简单的 macOS 状态栏 Python 库 ```python import rumps class AwesomeStatusBarApp(rumps.App): @rumps.clicked("Preferences") def prefs(self, _): rumps.alert("jk! no preferences available!") @rumps.clicked("Silly button") def onoff(self, sender): sender.state = not sender.state @rumps.clicked("Say hi") def sayhi(self, _): rumps.notification("Awesome title", "amazing subtitle", "hi!!1") if __name__ == "__main__": AwesomeStatusBarApp("Awesome App").run() ```
Included in:
Vol.69
Tags:
macOS
Python

Comments

Rating:
No comments yet