Created
August 6, 2022 05:19
-
-
Save GitHub30/e9d24bb9e0c4066cb9dc593b27e3d227 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install winsdk_toast | |
from winsdk_toast import Notifier, Toast | |
notifier = Notifier('程序名 applicationId') | |
toast = Toast() | |
toast.add_text('第一行 1st line') | |
toast.add_action('Button') | |
notifier.show(toast, handle_activated=lambda x: print(x)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment