NotificationBoxExt

Trait NotificationBoxExt 

Source
pub trait NotificationBoxExt {
    // Required methods
    fn notification_box(&self) -> &Box;
    fn main_dialog(&self) -> &Dialog;
    fn main_action_button(&self) -> &Button;
    fn notification_image(&self) -> &Image;
    fn notification_label(&self) -> &Label;

    // Provided methods
    fn show_notification(&self) { ... }
    fn show_error(&self, msg: &str) { ... }
    fn show_info(&self, msg: &str) { ... }
    fn show_warning(&self, msg: &str) { ... }
    fn hide_message(&self) { ... }
}

Required Methods§

Provided Methods§

Source

fn show_notification(&self)

Source

fn show_error(&self, msg: &str)

Source

fn show_info(&self, msg: &str)

Source

fn show_warning(&self, msg: &str)

Source

fn hide_message(&self)

Implementors§