Trait WindowImpl

Source
pub trait WindowImpl: WidgetImpl + ObjectSubclass<Type: IsA<Window> + IsA<Native> + IsA<Root> + IsA<ShortcutManager>> {
    // Provided methods
    fn activate_focus(&self) { ... }
    fn activate_default(&self) { ... }
    fn keys_changed(&self) { ... }
    fn enable_debugging(&self, toggle: bool) -> bool { ... }
    fn close_request(&self) -> Propagation { ... }
}

Provided Methods§

Source

fn activate_focus(&self)

Activates the current focused widget within the window.

Source

fn activate_default(&self)

Activates the default widget for the window.

Source

fn keys_changed(&self)

Signal gets emitted when the set of accelerators or mnemonics that are associated with window changes.

Source

fn enable_debugging(&self, toggle: bool) -> bool

Class handler for the GtkWindow::enable-debugging keybinding signal.

Source

fn close_request(&self) -> Propagation

Class handler for the close-request signal.

§Returns

Whether the window should be destroyed

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§