pub trait ToastExt: IsA<Toast> + Sealed + 'static {
// Provided methods
fn send_notification(&self) { ... }
fn label(&self) -> GString { ... }
fn set_label(&self, value: &str) { ... }
fn default_action(&self) -> GString { ... }
fn set_default_action(&self, value: &str) { ... }
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 { ... }
}
Provided Methods§
sourcefn send_notification(&self)
fn send_notification(&self)
Since: 1.0
fn label(&self) -> GString
fn set_label(&self, value: &str)
fn default_action(&self) -> GString
fn set_default_action(&self, value: &str)
sourcefn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_action<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
Object Safety§
This trait is not object safe.