pub trait BoxExt: 'static {
Show 14 methods
fn append(&self, child: &impl IsA<Widget>);
fn baseline_position(&self) -> BaselinePosition;
fn is_homogeneous(&self) -> bool;
fn spacing(&self) -> i32;
fn insert_child_after(
&self,
child: &impl IsA<Widget>,
sibling: Option<&impl IsA<Widget>>
);
fn prepend(&self, child: &impl IsA<Widget>);
fn remove(&self, child: &impl IsA<Widget>);
fn reorder_child_after(
&self,
child: &impl IsA<Widget>,
sibling: Option<&impl IsA<Widget>>
);
fn set_baseline_position(&self, position: BaselinePosition);
fn set_homogeneous(&self, homogeneous: bool);
fn set_spacing(&self, spacing: 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;
}
Required Methods
source
fn baseline_position(&self) -> BaselinePosition
source
fn is_homogeneous(&self) -> bool
source
fn set_baseline_position(&self, position: BaselinePosition)
source
fn set_homogeneous(&self, homogeneous: bool)
source
fn set_spacing(&self, spacing: i32)
sourcefn connect_baseline_position_notify<F: Fn(&Self) + 'static>(
fn connect_baseline_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_homogeneous_notify<F: Fn(&Self) + 'static>(
fn connect_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source