logo
pub trait ToastExt: 'static {
    fn label(&self) -> Option<GString>;
    fn set_label(&self, value: &str);
    fn default_action(&self) -> Option<GString>;
    fn set_default_action(&self, value: &str);
    fn send_notification(&self);
    fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
    fn connect_action<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
    fn connect_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_default_action_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all Toast methods.

Implementors

Toast

Required Methods

Implementors