AlertDialogExtManual

Trait AlertDialogExtManual 

Source
pub trait AlertDialogExtManual:
    Sealed
    + IsA<AlertDialog>
    + '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,
        parent: Option<&impl IsA<Widget>>,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P,
    ) { ... }
    fn choose_future(
        self,
        parent: Option<&impl IsA<Widget>>,
    ) -> 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, parent: Option<&impl IsA<Widget>>, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )

Source

fn choose_future( self, parent: Option<&impl IsA<Widget>>, ) -> 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§