pub trait NativeDialogImpl: ObjectImpl + ObjectSubclass<Type: IsA<NativeDialog>> {
// Provided methods
fn response(&self, response: ResponseType) { ... }
fn show(&self) { ... }
fn hide(&self) { ... }
}
๐Deprecated: Since 4.10
Provided Methodsยง
Sourcefn response(&self, response: ResponseType)
๐Deprecated: Since 4.10
fn response(&self, response: ResponseType)
class handler for the GtkNativeDialog::response
signal
Sourcefn show(&self)
๐Deprecated: Since 4.10
fn show(&self)
Shows the dialog on the display.
When the user accepts the state of the dialog the dialog will
be automatically hidden and the response
signal will be emitted.
Multiple calls while the dialog is visible will be ignored.
Sourcefn hide(&self)
๐Deprecated: Since 4.10
fn hide(&self)
Hides the dialog if it is visible, aborting any interaction.
Once this is called the response
signal
will not be emitted until after the next call to
NativeDialogExt::show()
.
If the dialog is not visible this does nothing.
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.