Trait gtk4::subclass::layout_manager::LayoutManagerImplExt
source · [−]pub trait LayoutManagerImplExt: ObjectSubclass {
fn parent_allocate(
&self,
layout_manager: &Self::Type,
widget: &Widget,
width: i32,
height: i32,
baseline: i32
);
fn parent_create_layout_child(
&self,
layout_manager: &Self::Type,
widget: &Widget,
for_child: &Widget
) -> LayoutChild;
fn parent_request_mode(
&self,
layout_manager: &Self::Type,
widget: &Widget
) -> SizeRequestMode;
fn parent_measure(
&self,
layout_manager: &Self::Type,
widget: &Widget,
orientation: Orientation,
for_size: i32
) -> (i32, i32, i32, i32);
fn parent_root(&self, layout_manager: &Self::Type);
fn parent_unroot(&self, layout_manager: &Self::Type);
}
Required Methods
sourcefn parent_allocate(
fn parent_allocate(
&self,
layout_manager: &Self::Type,
widget: &Widget,
width: i32,
height: i32,
baseline: i32
)
sourcefn parent_create_layout_child(
fn parent_create_layout_child(
&self,
layout_manager: &Self::Type,
widget: &Widget,
for_child: &Widget
) -> LayoutChild
sourcefn parent_request_mode(
fn parent_request_mode(
&self,
layout_manager: &Self::Type,
widget: &Widget
) -> SizeRequestMode
sourcefn parent_measure(
fn parent_measure(
&self,
layout_manager: &Self::Type,
widget: &Widget,
orientation: Orientation,
for_size: i32
) -> (i32, i32, i32, i32)
source
fn parent_root(&self, layout_manager: &Self::Type)
source