Trait gtk4::prelude::LayoutManagerExt

source ·
pub trait LayoutManagerExt: IsA<LayoutManager> + Sealed + 'static {
    // Provided methods
    fn allocate(
        &self,
        widget: &impl IsA<Widget>,
        width: i32,
        height: i32,
        baseline: i32
    ) { ... }
    fn layout_child(&self, child: &impl IsA<Widget>) -> LayoutChild { ... }
    fn request_mode(&self) -> SizeRequestMode { ... }
    fn widget(&self) -> Option<Widget> { ... }
    fn layout_changed(&self) { ... }
    fn measure(
        &self,
        widget: &impl IsA<Widget>,
        orientation: Orientation,
        for_size: i32
    ) -> (i32, i32, i32, i32) { ... }
}

Provided Methods§

source

fn allocate( &self, widget: &impl IsA<Widget>, width: i32, height: i32, baseline: i32 )

source

fn layout_child(&self, child: &impl IsA<Widget>) -> LayoutChild

source

fn request_mode(&self) -> SizeRequestMode

source

fn widget(&self) -> Option<Widget>

source

fn layout_changed(&self)

source

fn measure( &self, widget: &impl IsA<Widget>, orientation: Orientation, for_size: i32 ) -> (i32, i32, i32, i32)

Object Safety§

This trait is not object safe.

Implementors§