Private Sub ShowNotification(Title As String, Body As String, AppId As String) As PyWrapper
Dim toast As PyWrapper = Py.ImportModuleFrom("win11toast", "toast")
Return toast.Call.Arg(Title).Arg(Body).ArgNamed("app_id", AppId)
End Sub
Private Sub ShowNotificationWithCallback(Title As String, Body As String, AppId As String, Tag As Int) As PyWrapper
Dim toast As PyWrapper = ShowNotification(Title, Body, AppId)
Return toast.ArgNamed("on_click", _
Py.Lambda($"args: bridge_instance.raise_event('notificationclick', {'tag': ${Tag}})"$))
End Sub