diff --git a/docs/advanced_usage.rst b/docs/advanced_usage.rst index 692437c..4afd698 100644 --- a/docs/advanced_usage.rst +++ b/docs/advanced_usage.rst @@ -47,7 +47,7 @@ when the notification is pressed. # Send it toaster.show_toast(newToast) -.. note:: +.. warning:: Make sure your lambda/function takes an argument! The on_x fields pass data back to the callable. on_activated for instance returns :class:`~windows_toasts.events.ToastActivatedEventArgs`. Play different audio diff --git a/docs/interactable.rst b/docs/interactable.rst index ddc01c8..5d2b403 100644 --- a/docs/interactable.rst +++ b/docs/interactable.rst @@ -31,6 +31,9 @@ And we have buttons! We can't do much with them though, at least until we use on newToast.on_activated = activated_callback +.. note:: + To make sure the activation of the toast triggeres the callback following its relegation to the action center, you must use a `custom AUMID `_. + Input fields ~~~~~~~~~~~~