Struct gtk::Grid
[−]
pub struct Grid(_, _);
Methods
impl Grid
[src]
fn new() -> Grid
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
)
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_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 set_column_homogeneous(&self, homogeneous: bool)
fn set_column_spacing(&self, spacing: u32)
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)
Trait Implementations
impl Clone for Grid
fn clone(&self) -> Grid
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Grid
impl Hash for Grid
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Grid
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Grid
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.