gtk4::prelude

Trait LayoutChildExt

Source
pub trait LayoutChildExt: IsA<LayoutChild> + 'static {
    // Provided methods
    fn child_widget(&self) -> Widget { ... }
    fn layout_manager(&self) -> LayoutManager { ... }
}
Expand description

Provided Methods§

Source

fn child_widget(&self) -> Widget

Retrieves the Widget associated to the given @self.

§Returns

a Widget

Source

fn layout_manager(&self) -> LayoutManager

Retrieves the LayoutManager instance that created the given @self.

§Returns

a LayoutManager

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§