pub trait LayoutManagerImpl: LayoutManagerImplExt + ObjectImpl {
    // Provided methods
    fn allocate(
        &self,
        layout_manager: &Self::Type,
        widget: &Widget,
        width: i32,
        height: i32,
        baseline: i32
    ) { ... }
    fn create_layout_child(
        &self,
        layout_manager: &Self::Type,
        widget: &Widget,
        for_child: &Widget
    ) -> LayoutChild { ... }
    fn layout_child_type() -> Option<Type> { ... }
    fn request_mode(
        &self,
        layout_manager: &Self::Type,
        widget: &Widget
    ) -> SizeRequestMode { ... }
    fn measure(
        &self,
        layout_manager: &Self::Type,
        widget: &Widget,
        orientation: Orientation,
        for_size: i32
    ) -> (i32, i32, i32, i32) { ... }
    fn root(&self, layout_manager: &Self::Type) { ... }
    fn unroot(&self, layout_manager: &Self::Type) { ... }
}

Provided Methods§

source

fn allocate( &self, layout_manager: &Self::Type, widget: &Widget, width: i32, height: i32, baseline: i32 )

source

fn create_layout_child( &self, layout_manager: &Self::Type, widget: &Widget, for_child: &Widget ) -> LayoutChild

source

fn layout_child_type() -> Option<Type>

Only set if the child implemented LayoutChildImpl

source

fn request_mode( &self, layout_manager: &Self::Type, widget: &Widget ) -> SizeRequestMode

source

fn measure( &self, layout_manager: &Self::Type, widget: &Widget, orientation: Orientation, for_size: i32 ) -> (i32, i32, i32, i32)

source

fn root(&self, layout_manager: &Self::Type)

source

fn unroot(&self, layout_manager: &Self::Type)

Implementors§