Trait gtk::prelude::GridExt
[−]
[src]
pub trait GridExt { fn attach<P: IsA<Widget>>(
&self,
child: &P,
left: i32,
top: i32,
width: i32,
height: i32
); fn attach_next_to<'a, P: IsA<Widget>, Q: IsA<Widget> + 'a, R: Into<Option<&'a Q>>>(
&self,
child: &P,
sibling: R,
side: PositionType,
width: i32,
height: i32
); fn get_baseline_row(&self) -> i32; fn get_child_at(&self, left: i32, top: i32) -> Option<Widget>; fn get_column_homogeneous(&self) -> bool; fn get_column_spacing(&self) -> u32; fn get_row_baseline_position(&self, row: i32) -> BaselinePosition; fn get_row_homogeneous(&self) -> bool; fn get_row_spacing(&self) -> u32; fn insert_column(&self, position: i32); fn insert_next_to<P: IsA<Widget>>(&self, sibling: &P, side: PositionType); fn insert_row(&self, position: i32); fn remove_column(&self, position: i32); fn remove_row(&self, position: i32); fn set_baseline_row(&self, row: i32); fn set_column_homogeneous(&self, homogeneous: bool); fn set_column_spacing(&self, spacing: u32); fn set_row_baseline_position(&self, row: i32, pos: BaselinePosition); fn set_row_homogeneous(&self, homogeneous: bool); fn set_row_spacing(&self, spacing: u32); fn get_property_baseline_row(&self) -> i32; fn set_property_baseline_row(&self, baseline_row: i32); fn get_cell_height<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_height<T: IsA<Widget>>(&self, item: &T, height: i32); fn get_cell_width<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_width<T: IsA<Widget>>(&self, item: &T, width: i32); fn get_cell_left_attach<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_left_attach<T: IsA<Widget>>(&self, item: &T, left_attach: i32); fn get_cell_top_attach<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_top_attach<T: IsA<Widget>>(&self, item: &T, top_attach: i32); }
Required Methods
fn attach<P: IsA<Widget>>(
&self,
child: &P,
left: i32,
top: i32,
width: i32,
height: i32
)
&self,
child: &P,
left: i32,
top: i32,
width: i32,
height: i32
)
fn attach_next_to<'a, P: IsA<Widget>, Q: IsA<Widget> + 'a, R: Into<Option<&'a Q>>>(
&self,
child: &P,
sibling: R,
side: PositionType,
width: i32,
height: i32
)
&self,
child: &P,
sibling: R,
side: PositionType,
width: i32,
height: i32
)