GtkApplicationImplExt

Trait GtkApplicationImplExt 

Source
pub trait GtkApplicationImplExt: GtkApplicationImpl {
    // Provided methods
    fn parent_window_added(&self, window: &Window) { ... }
    fn parent_window_removed(&self, window: &Window) { ... }
    fn parent_save_state(&self, state: &VariantDict) -> bool { ... }
    fn parent_restore_state(
        &self,
        reason: RestoreReason,
        state: &Variant,
    ) -> bool { ... }
    fn parent_restore_window(&self, reason: RestoreReason, state: &Variant) { ... }
}

Provided Methods§

Source

fn parent_window_added(&self, window: &Window)

Source

fn parent_window_removed(&self, window: &Window)

Source

fn parent_save_state(&self, state: &VariantDict) -> bool

Available on crate feature v4_22 only.
Source

fn parent_restore_state(&self, reason: RestoreReason, state: &Variant) -> bool

Available on crate feature v4_22 only.
Source

fn parent_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.

Implementors§