From 5330f517917a4a1559e98f5e765ca28cf9a0e9e5 Mon Sep 17 00:00:00 2001 From: GitHub30 Date: Thu, 26 Oct 2023 00:38:51 +0900 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 7fa1d68..6c00e15 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,21 @@ toast('Hello Python🐍', duration='long') displayed for 25 seconds https://docs.microsoft.com/en-us/uwp/schemas/tiles/toastschema/element-toast +### No timeout + +```python +from win11toast import toast + +toast('Hello Python🐍', scenario='incomingCall') +``` + +The scenario your toast is used for, like an alarm, reminder, incomingCall or urgent. + +https://learn.microsoft.com/en-us/uwp/schemas/tiles/toastschema/element-toast#:~:text=None-,scenario,-The%20scenario%20your + +![image](https://github.com/GitHub30/win11toast/assets/12811398/f7e65d41-7bd6-4e64-82ff-2ed7eab82922) + + ### Button ```python