Trait gtk::BoxExt
[−]
[src]
pub trait BoxExt {
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<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
widget: Q
);
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);
}
Required 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
)
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32
)
fn pack_start<P: IsA<Widget>>(
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32
)
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32
)
fn query_child_packing<P: IsA<Widget>>(
&self,
child: &P
) -> (bool, bool, u32, PackType)
&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<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
widget: Q
)
&self,
widget: Q
)
fn set_child_packing<P: IsA<Widget>>(
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32,
pack_type: PackType
)
&self,
child: &P,
expand: bool,
fill: bool,
padding: u32,
pack_type: PackType
)