gtk4::subclass::layout_manager

Trait LayoutManagerImplExt

Source
pub trait LayoutManagerImplExt: LayoutManagerImpl {
    // Provided methods
    fn parent_allocate(
        &self,
        widget: &Widget,
        width: i32,
        height: i32,
        baseline: i32,
    ) { ... }
    fn parent_create_layout_child(
        &self,
        widget: &Widget,
        for_child: &Widget,
    ) -> LayoutChild { ... }
    fn parent_request_mode(&self, widget: &Widget) -> SizeRequestMode { ... }
    fn parent_measure(
        &self,
        widget: &Widget,
        orientation: Orientation,
        for_size: i32,
    ) -> (i32, i32, i32, i32) { ... }
    fn parent_root(&self) { ... }
    fn parent_unroot(&self) { ... }
}

Provided Methods§

Source

fn parent_allocate( &self, widget: &Widget, width: i32, height: i32, baseline: i32, )

Source

fn parent_create_layout_child( &self, widget: &Widget, for_child: &Widget, ) -> LayoutChild

Source

fn parent_request_mode(&self, widget: &Widget) -> SizeRequestMode

Source

fn parent_measure( &self, widget: &Widget, orientation: Orientation, for_size: i32, ) -> (i32, i32, i32, i32)

Source

fn parent_root(&self)

Source

fn parent_unroot(&self)

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§