Skip to content

Commit

Permalink
docs: mention custom AUMID in relation to activation callback
Browse files Browse the repository at this point in the history
  • Loading branch information
DatGuy1 committed Aug 13, 2023
1 parent 260e5b0 commit f1e9c52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions docs/interactable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Creating a custom AUMID>`_.

Input fields
~~~~~~~~~~~~

Expand Down

0 comments on commit f1e9c52

Please sign in to comment.