pub trait GtkApplicationImpl: ApplicationImpl + ObjectSubclass<Type: IsA<Application>> {
// Provided methods
fn window_added(&self, window: &Window) { ... }
fn window_removed(&self, window: &Window) { ... }
fn save_state(&self, state: &VariantDict) -> bool { ... }
fn restore_state(&self, reason: RestoreReason, state: &Variant) -> bool { ... }
fn restore_window(&self, reason: RestoreReason, state: &Variant) { ... }
}Provided Methods§
fn window_added(&self, window: &Window)
fn window_removed(&self, window: &Window)
fn save_state(&self, state: &VariantDict) -> bool
Available on crate feature
v4_22 only.fn restore_state(&self, reason: RestoreReason, state: &Variant) -> bool
Available on crate feature
v4_22 only.fn restore_window(&self, reason: RestoreReason, state: &Variant)
Available on crate feature
v4_22 only.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.