Trait gtk4::prelude::LayoutManagerExt
source · [−]pub trait LayoutManagerExt: 'static {
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);
}