gtk4::subclass::window

Trait WindowImpl

source
pub trait WindowImpl: WidgetImpl + ObjectSubclass<Type: IsA<Window>> {
    // 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 GtkWindow::close-request signal.

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§