pub trait BoxExt: IsA<Box> + Sealed + 'static {
Show 26 methods
// Provided methods
fn baseline_position(&self) -> BaselinePosition { ... }
fn center_widget(&self) -> Option<Widget> { ... }
fn is_homogeneous(&self) -> bool { ... }
fn spacing(&self) -> i32 { ... }
fn pack_end(
&self,
child: &impl IsA<Widget>,
expand: bool,
fill: bool,
padding: u32
) { ... }
fn pack_start(
&self,
child: &impl IsA<Widget>,
expand: bool,
fill: bool,
padding: u32
) { ... }
fn query_child_packing(
&self,
child: &impl IsA<Widget>
) -> (bool, bool, u32, PackType) { ... }
fn reorder_child(&self, child: &impl IsA<Widget>, position: i32) { ... }
fn set_baseline_position(&self, position: BaselinePosition) { ... }
fn set_center_widget(&self, widget: Option<&impl IsA<Widget>>) { ... }
fn set_child_packing(
&self,
child: &impl IsA<Widget>,
expand: bool,
fill: bool,
padding: u32,
pack_type: PackType
) { ... }
fn set_homogeneous(&self, homogeneous: bool) { ... }
fn set_spacing(&self, spacing: i32) { ... }
fn child_expands<T: IsA<Widget>>(&self, item: &T) -> bool { ... }
fn set_child_expand<T: IsA<Widget>>(&self, item: &T, expand: bool) { ... }
fn child_fills<T: IsA<Widget>>(&self, item: &T) -> bool { ... }
fn set_child_fill<T: IsA<Widget>>(&self, item: &T, fill: bool) { ... }
fn child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType { ... }
fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType) { ... }
fn child_padding<T: IsA<Widget>>(&self, item: &T) -> u32 { ... }
fn set_child_padding<T: IsA<Widget>>(&self, item: &T, padding: u32) { ... }
fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32 { ... }
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32) { ... }
fn connect_baseline_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}