pub trait BoxExt: 'static {
Show 18 methods
fn get_baseline_position(&self) -> BaselinePosition;
fn get_center_widget(&self) -> Option<Widget>;
fn get_homogeneous(&self) -> bool;
fn get_spacing(&self) -> i32;
fn pack_end<P: IsA<Widget>>(
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32
);
fn pack_start<P: IsA<Widget>>(
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32
);
fn query_child_packing<P: IsA<Widget>>(
&self,
child: &P
) -> (bool, bool, u32, PackType);
fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32);
fn set_baseline_position(&self, position: BaselinePosition);
fn set_center_widget<P: IsA<Widget>>(&self, widget: Option<&P>);
fn set_child_packing<P: IsA<Widget>>(
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32,
pack_type: PackType
);
fn set_homogeneous(&self, homogeneous: bool);
fn set_spacing(&self, spacing: i32);
fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32;
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32);
fn connect_property_baseline_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_baseline_position(&self) -> BaselinePosition
source
fn get_center_widget(&self) -> Option<Widget>
source
fn get_homogeneous(&self) -> bool
source
fn get_spacing(&self) -> i32
source
fn set_baseline_position(&self, position: BaselinePosition)
sourcefn set_child_packing<P: IsA<Widget>>(
fn set_child_packing<P: IsA<Widget>>(
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32,
pack_type: PackType
)
source
fn set_homogeneous(&self, homogeneous: bool)
source
fn set_spacing(&self, spacing: i32)
sourcefn connect_property_baseline_position_notify<F: Fn(&Self) + 'static>(
fn connect_property_baseline_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_spacing_notify<F: Fn(&Self) + 'static>(