toaster
Base module for pushing toast messages on Win 10.
This module is a wrapper for a cli utility that provides toast message
functionality. See https://github.com/go-toast/toast
Attributes
mlogger = get_logger(__name__)
module-attribute
Functions
get_toaster()
send_toast(message, title=None, appid=None, icon=None, click=None, actions=None)
Send toast notificaton.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message
|
str
|
notification message |
required |
title
|
str
|
notification title |
None
|
appid
|
str
|
application unique id (see |
None
|
icon
|
str
|
notification icon (see |
None
|
click
|
str
|
click action (see |
None
|
actions
|
dict[str
|
str]):
list of actions (see |
None
|