sysbar

Crates.iosysbar
lib.rssysbar
version0.3.0
sourcesrc
created_at2017-08-07 12:28:21.969335
updated_at2021-09-23 03:57:53.768632
descriptionLibrary for interacting with the system's taskbar / tray / statusbar
homepage
repositoryhttps://github.com/rust-sysbar/rust-sysbar
max_upload_size
id26767
size32,530
Corey Farwell (frewsxcv)

documentation

README

rust-sysbar

Library for interacting with the system's taskbar / tray / statusbar. It aims to be cross-platform, but currently only supports macOS. If have some extra time and are interested in implementing this for other platforms, contributions would be greatly appreciated! This project is a fork of rs-barfly.

Example

let mut bar = sysbar::Sysbar::new("Foo");

bar.add_item(
    "Say 'bar'",
    Box::new(move || {
        println!("bar");
    }),
);

bar.add_quit_item("Quit");

bar.display();

Resulting screenshot of code above

See also

License

Licensed under either of

at your option.

Commit count: 80

cargo fmt