Crate win7_notifications[][src]

Expand description

Send Windows 10 styled notifications on Windows 7.

Examples

Example 1: Simple Notification

Notification::new()
    .appname("App name")
    .summary("Critical Error")
    .body("Just kidding, this is just the notification example.")
    .icon(icon.to_vec())
    .timeout(Timeout::Default) // 5000 milliseconds
    .show().unwrap();

Example 2: Presistent Notification

Notification::new()
    .appname("App name")
    .summary("Critical Error")
    .body("Just kidding, this is just the notification example.")
    .icon(icon.to_vec())
    .timeout(Timeout::Never)
    .show().unwrap();

Modules

Structs

Describes The notification

Enums

Describes the timeout of a notification