Trait relm::gtk_ext::BoxExtManual
[−]
[src]
pub trait BoxExtManual { fn set_child_expand<T: IsA<Widget>>(&self, child: &T, expand: bool); fn set_child_fill<T: IsA<Widget>>(&self, child: &T, fill: bool); fn set_child_pack_type<T: IsA<Widget>>(
&self,
child: &T,
pack_type: PackType
); fn set_child_padding<T: IsA<Widget>>(&self, child: &T, padding: u32); fn set_child_position<T: IsA<Widget>>(&self, child: &T, position: i32); }
A trait providing methods to set the child properties of a gtk::Box
.
Required Methods
fn set_child_expand<T: IsA<Widget>>(&self, child: &T, expand: bool)
Set whether the child should receive extra space when the parent grows.
fn set_child_fill<T: IsA<Widget>>(&self, child: &T, fill: bool)
Set whether the child should receive extra space when the parent grows.
fn set_child_pack_type<T: IsA<Widget>>(&self, child: &T, pack_type: PackType)
Set whether the child is packed with reference to the start or end of the parent.
fn set_child_padding<T: IsA<Widget>>(&self, child: &T, padding: u32)
Set the extra space to put between the child and its neighbors, in pixels.
fn set_child_position<T: IsA<Widget>>(&self, child: &T, position: i32)
Set the index of the child in the parent.
Implementors
impl BoxExtManual for Box