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§
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>>
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.