MessageDialogExtManual

Trait MessageDialogExtManual 

Source
pub trait MessageDialogExtManual:
    Sealed
    + IsA<MessageDialog>
    + 'static {
    // Provided methods
    fn response_label(&self, response: &str) -> GString { ... }
    fn add_responses(&self, ids_and_labels: &[(&str, &str)]) { ... }
    fn choose<P: FnOnce(GString) + 'static>(
        self,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P,
    ) { ... }
    fn choose_future(self) -> Pin<Box_<dyn Future<Output = GString> + 'static>> { ... }
}

Provided Methods§

Source

fn response_label(&self, response: &str) -> GString

Source

fn add_responses(&self, ids_and_labels: &[(&str, &str)])

Source

fn choose<P: FnOnce(GString) + 'static>( self, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )

Source

fn choose_future(self) -> Pin<Box_<dyn Future<Output = GString> + 'static>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§